/* Guha Infotech Website - Enhanced Professional Styles */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #0066cc;
    --primary-dark: #004c99;
    --primary-light: #3385d6;
    --secondary-color: #00b894;
    --accent-color: #fd79a8;
    --text-color: #2d3436;
    --text-light: #636e72;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --background-dark: #2d3436;
    --border-color: #dfe6e9;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 50px rgba(0,0,0,0.15);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 7rem;
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--background);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}
h2 {
    font-size: 2.75rem;
    font-weight: 700;
}
h3 {
    font-size: 2rem;
    font-weight: 600;
}
h4 {
    font-size: 1.5rem;
    font-weight: 600;
}
h5 {
    font-size: 1.25rem;
    font-weight: 600;
}
h6 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* ===== Layout Components ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-alt {
    background: var(--background-alt);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-primary {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.section-primary h1,
.section-primary h2,
.section-primary h3,
.section-primary p {
    color: white;
}

/* ===== Header & Navigation ===== */
.header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

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

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.9375rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--background-alt);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== Dropdown Menu ===== */
.nav-menu > li {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 0.75rem 0;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.08);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-content a:hover {
    background: var(--background-alt);
    color: var(--primary-color);
    padding-left: 1.75rem;
    transform: none;
}

.dropdown-menu a {
    padding: 0.875rem 1.75rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    border-radius: 0;
    font-size: 0.9375rem;
    position: relative;
}

.dropdown-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.3s;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, transparent 100%);
    color: var(--primary-color);
    padding-left: 2rem;
    transform: translateY(0);
}

.dropdown-menu a:hover::before {
    height: 100%;
}

.dropdown-menu .service-icon {
    font-size: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-alt);
    border-radius: 8px;
    transition: all 0.3s;
}

.dropdown-menu a:hover .service-icon {
    background: var(--gradient-primary);
    transform: scale(1.1) rotate(5deg);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 1rem;
    list-style: none;
}

.mobile-menu-toggle {
    display: none;
    background: var(--primary-color);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 10rem 0 8rem;
    position: relative;
    overflow: hidden;
}

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

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

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    color: rgba(255,255,255,0.95);
    font-size: 1.375rem;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(0,102,204,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,102,204,0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.95);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Grid System ===== */
.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Cards ===== */
.card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== Service/Industry Cards ===== */
.service-card,
.industry-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover,
.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card h3,
.industry-card h3 {
    margin-bottom: 1rem;
}

/* ===== Team Cards ===== */
.team-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    object-fit: cover;
    border: 5px solid var(--background-alt);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-card h4 {
    margin-bottom: 0.5rem;
}

.team-card .role {
    color: var(--primary-color);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

/* ===== Job Listings ===== */
.job-listing {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: var(--spacing-md);
    transition: var(--transition);
}

.job-listing:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.job-listing h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.job-meta {
    color: var(--primary-color);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--background);
}

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

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

/* ===== Contact Info ===== */
.contact-info {
    background: var(--background-alt);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item h4 {
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.contact-item p {
    font-size: 1.125rem;
    color: var(--text-color);
    font-weight: 500;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
.footer {
    background: var(--background-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

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

.footer h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer p,
.footer a {
    color: rgba(255,255,255,0.7);
    line-height: 2;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* ===== Images ===== */
.image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

/* ===== Page Header ===== */
.page-header {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

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

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

.page-header p {
    color: rgba(255,255,255,0.95);
    font-size: 1.375rem;
}

/* ===== FAQ Section ===== */
.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* ===== List Styles ===== */
ul.features-list {
    list-style: none;
    padding-left: 0;
}

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

ul.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    html { font-size: 14px; }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero h1 { font-size: 2.75rem; }
    .hero { padding: 6rem 0 4rem; }
    .page-header { padding: 4rem 0; }

    .section { padding: 4rem 0; }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: var(--spacing-sm);
        border-radius: 0 0 20px 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

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

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

    .hero h1 {
        font-size: 2.25rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Smooth Transitions ===== */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== Enhanced Backgrounds ===== */
.section-gradient-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.section-pattern-bg {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== Animated Wave Background ===== */
.wave-section {
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.wave-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== Icon Boxes ===== */
.icon-box {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.icon-box .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.icon-box:hover .icon {
    transform: translateY(-10px) rotate(5deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* ===== Stats/Counter Section ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

/* ===== Testimonials ===== */
.testimonial {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid var(--border-color);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.author-info p {
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-left: 1rem;
}

/* ===== Badge/Tag Styles ===== */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--background-alt);
    color: var(--primary-color);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge-primary {
    background: var(--primary-color);
    color: white;
}

.badge-gradient {
    background: var(--gradient-primary);
    color: white;
}

/* ===== Progress Bars ===== */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--background-alt);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: width 1s ease-in-out;
}

/* ===== Hover Image Effects ===== */
.hover-zoom {
    overflow: hidden;
    border-radius: 20px;
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: var(--transition);
}

.image-overlay:hover::after {
    opacity: 1;
}

/* ===== Dividers ===== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 3rem 0;
}

.divider-gradient {
    height: 3px;
    background: var(--gradient-primary);
    width: 100px;
    margin: 2rem auto;
    border-radius: 50px;
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== Floating Elements ===== */
.floating {
    animation: float 3s ease-in-out infinite;
}

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

/* ===== Pulse Animation ===== */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

/* ===== Glow Effect ===== */
.glow-on-hover {
    position: relative;
    transition: var(--transition);
}

.glow-on-hover::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    filter: blur(15px);
}

.glow-on-hover:hover::before {
    opacity: 0.7;
}

/* ===== Section Decorations ===== */
.section-decoration {
    position: relative;
}

.section-decoration::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.section-decoration::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--gradient-blue);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

/* ===== Feature List Enhanced ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

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

.feature-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}
