/*
Theme Name: Hoghogh Plus
Theme URI: http://example.com/hoghogh-plus
Author: Your Name
Author URI: http://example.com
Description: Hoghogh Plus WordPress Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hoghogh-plus
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d8f; /* Navy Blue - Trust & Authority */
    --secondary-color: #b08d55; /* Gold/Bronze - Prestige & Quality */
    --accent-color: #b71c1c; /* Deep Red - Urgency/Important */
    --success-color: #2e7d32; /* Dark Green */
    --warning-color: #f57f17;
    --light-color: #f8f9fa;
    --dark-color: #1a1a1a;
    --text-color: #2c3e50;
    --text-light: #546e7a;
    --text-lighter: #78909c;
    --text-dark: #1a202c;
    --text-white: #ffffff;
    --text-muted: #6c757d;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

body {
    font-family: 'Vazirmatn', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #ffffff;
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #134a7a 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #134a7a 0%, #0d3557 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, #134a7a 100%);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(26, 77, 143, 0.2);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 6px 16px rgba(26, 77, 143, 0.3);
}

.logo-text h1 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
}

.nav-link {
    padding: 0.6rem 1.2rem;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(0, 33, 71, 0.05);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 10px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--secondary-color);
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav li.current-menu-item > a,
.main-nav li.current_page_item > a {
    color: var(--secondary-color);
    background-color: rgba(176, 141, 85, 0.15);
}

/* Dropdown Menu */
.main-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    min-width: 220px;
    padding: 0.5rem 0;
    z-index: 100;
    flex-direction: column;
    gap: 0;
}

.main-nav li:hover > ul {
    display: flex;
}

.main-nav ul ul li {
    width: 100%;
}

.main-nav ul ul a {
    padding: 0.7rem 1.2rem;
    border-radius: 0;
}

.main-nav ul ul a:hover {
    background-color: rgba(26, 77, 143, 0.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
    padding: 180px 0 120px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(26, 77, 143, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(176, 141, 85, 0.05) 0%, transparent 50%),
        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='%23002147' fill-opacity='0.03'%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/svg%3E");
    animation: bgMove 30s linear infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 900;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    display: block;
    color: #c9a05f;
    margin-top: 0.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    max-width: 650px;
    line-height: 1.8;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(26, 77, 143, 0.12);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(176, 141, 85, 0.15);
    transition: var(--transition);
    color: #2c3e50;
}

.feature:hover {
    border-color: rgba(176, 141, 85, 0.4);
    box-shadow: 0 6px 20px rgba(26, 77, 143, 0.2);
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(176, 141, 85, 0.3));
}

.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-actions .btn-primary {
    position: relative;
    overflow: hidden;
}

.hero-actions .btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-actions .btn-primary:hover::after {
    width: 400px;
    height: 400px;
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.hero-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.law-illustration {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    transform: rotate(-5deg);
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.illustration-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-radius: 24px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(26, 77, 143, 0.15);
    transition: var(--transition);
    border: 2px solid rgba(176, 141, 85, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.illustration-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(176, 141, 85, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.illustration-item:hover {
    transform: translateY(-15px) scale(1.05) rotate(2deg);
    box-shadow: 0 15px 40px rgba(26, 77, 143, 0.25);
    border-color: rgba(176, 141, 85, 0.5);
}

.illustration-item:hover::before {
    opacity: 1;
}

.illustration-item i {
    font-size: 3rem;
    color: #2c5282;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(26, 77, 143, 0.2));
    transition: var(--transition);
}

.illustration-item:hover i {
    transform: scale(1.2) rotate(-5deg);
}

.illustration-item span {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a4d8f;
    position: relative;
}

/* Hit Counter */
.hit-counter {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(26, 77, 143, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 10;
    border: 2px solid rgba(176, 141, 85, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hit-counter:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(26, 77, 143, 0.25);
    border-color: rgba(176, 141, 85, 0.4);
}

.hit-counter i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Immigration Banner */
.immigration-banner {
    background: linear-gradient(135deg, #8e24aa 0%, #5e35b1 100%);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 20px rgba(94, 53, 177, 0.3);
    position: relative;
    z-index: 2;
    margin-top: -30px;
}

.immigration-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-text i {
    font-size: 1.8rem;
    opacity: 0.9;
}

.banner-cta {
    background: rgba(255,255,255,0.15);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-section {
    background: #0f1c2b;
    color: #e5ebf5;
}

.blog-section .section-title {
    color: #f5f7fb;
}

.blog-section .section-subtitle {
    color: #cfd8e6;
}

.blog-section a.btn {
    color: #0f1c2b;
}

.banner-cta:hover {
    background: white;
    color: #5e35b1;
    transform: translateX(-5px);
}

/* Sections Common Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, transparent 100%);
    margin: 18px auto 0;
    border-radius: 3px;
    animation: lineGrow 1s ease-out;
}

@keyframes lineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: #546e7a;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    background-color: #fcfcfc;
}

.service-category {
    margin-bottom: 5rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
    color: #1a4d8f;
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 15px;
}

.category-title i {
    color: var(--secondary-color);
    background: rgba(197, 160, 89, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

.category-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: #0f1c2b;
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: #e8edf5;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(176, 141, 85, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(176, 141, 85, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    width: 400px;
    height: 400px;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, rgba(176, 141, 85, 0.1) 0%, rgba(26, 77, 143, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(176, 141, 85, 0.2) 0%, rgba(26, 77, 143, 0.2) 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(176, 141, 85, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: #f5f7fb;
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--secondary-color);
}

.service-card h4 {
    margin-bottom: 0.8rem;
    color: #f5f7fb;
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card p {
    color: #c8d2e3;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-price {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-price::before {
    content: '\f3d1';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.9rem;
}

.service-btn {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.18);
    color: #f5f7fb;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #0f1c2b;
}

/* Service Form Styles */
.service-form-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.service-form-container.active {
    display: flex;
}

.service-form {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
}

.form-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.form-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.close-form {
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
        }

.close-form:hover {
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.95rem;
    background: white;
}

.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(26, 77, 143, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.file-upload-area {
    border: 3px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(26, 77, 143, 0.02) 0%, rgba(176, 141, 85, 0.02) 100%);
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(26, 77, 143, 0.05) 0%, rgba(176, 141, 85, 0.05) 100%);
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background-color: var(--light-color);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.payment-info {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.payment-info h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-number {
    font-family: monospace;
    font-size: 1.2rem;
    background: white;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    margin: 1rem 0;
    border: 2px dashed var(--secondary-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Document Creation Section */
.documents-section {
    background-color: white;
}

.document-creator {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.creator-steps {
    display: flex;
    background-color: var(--light-color);
    padding: 1rem;
}

.step {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.step.active {
    background-color: white;
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    font-weight: bold;
}

.step-info h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.step-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.creator-content {
    padding: 2rem;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.document-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

.doc-type {
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.8rem 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    position: relative;
    overflow: hidden;
}

.doc-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 143, 0.05) 0%, rgba(176, 141, 85, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.doc-type:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.doc-type:hover::before {
    opacity: 1;
}

.doc-type.selected {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(26, 77, 143, 0.08) 0%, rgba(176, 141, 85, 0.08) 100%);
    box-shadow: var(--shadow-md);
}

.doc-type i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.doc-type:hover i,
.doc-type.selected i {
    color: var(--secondary-color);
    transform: scale(1.15);
    margin-bottom: 1rem;
}

.doc-type h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.doc-type p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.char-count {
    text-align: left;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.generation-status {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    margin: 2rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--secondary-color);
    width: 0%;
    transition: width 0.5s ease;
}

.generation-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.gen-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.gen-step i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gen-step.active i {
    color: var(--success-color);
}

.generated-document {
    margin-top: 2rem;
}

.document-preview {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.document-actions {
    display: flex;
    justify-content: space-between;
}

.payment-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.order-summary {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item.total {
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.payment-methods {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--secondary-color);
}

.payment-option input {
    margin-left: 1rem;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.option-content i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.bank-info {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.bank-info p {
    margin-bottom: 0.5rem;
}

.payment-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Prediction Section */
.predictions-section {
    background-color: var(--light-color);
}

.prediction-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.prediction-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--text-color);
}

.prediction-card:hover {
    transform: translateY(-5px);
}

.prediction-card h4 {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.prediction-card p {
    color: #4a5568;
    line-height: 1.7;
}

.prediction-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 33, 71, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.prediction-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.prediction-result {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f5f7fb;
    border-radius: 8px;
    color: var(--primary-color);
}

.probability {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Pricing Section */
.pricing-section {
    background-color: #fcfcfc;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(176, 141, 85, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 77, 143, 0.2);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(176, 141, 85, 0.25);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(176, 141, 85, 0.3);
}

.plan-badge {
    position: absolute;
    top: 20px;
    left: -35px;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 3rem;
    font-size: 0.8rem;
    font-weight: 800;
    transform: rotate(-45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.plan-header {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #1a4d8f 0%, #0d3557 50%, #001f3f 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.plan-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    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='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.pricing-card.featured .plan-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #8f7043 50%, #6d5433 100%);
}

.plan-header h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.period {
    font-size: 0.9rem;
    opacity: 0.8;
}

.plan-features {
    padding: 2rem;
    list-style: none;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    color: #ffffff;
    font-size: 0.95rem;
}

.plan-features i {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.plan-features .fa-check {
    color: var(--success-color);
    background-color: rgba(46, 125, 50, 0.1);
}

.plan-features .fa-times {
    color: #999;
    background-color: rgba(0,0,0,0.05);
}

.pricing-card .btn {
    margin: 0 2rem 2rem;
    border-radius: 50px;
}

/* Contact Section */
.contact-section {
    background-color: white;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(176, 141, 85, 0.3);
}

.contact-item:hover::before {
    transform: scaleY(1);
}

.contact-item i {
    font-size: 1.8rem;
    color: white;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #134a7a 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(26, 77, 143, 0.2);
}

.contact-item:hover i {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #8f7043 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(176, 141, 85, 0.4);
}

.contact-item h4 {
    margin-bottom: 0.3rem;
    color: #1a4d8f;
    font-size: 1.1rem;
    font-weight: 700;
}

.contact-item p {
    margin: 0;
    color: #546e7a;
    font-weight: 500;
}

.contact-form {
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 1rem;
}

/* Footer */
.main-footer {
    background-color: #00152e;
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    color: white;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #a0a0a0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section a::before {
    content: '\f104';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    opacity: 0;
    transition: var(--transition);
    transform: translateX(5px);
}

.footer-section a:hover {
    color: white;
    padding-right: 5px;
}

.footer-section a:hover::before {
    opacity: 1;
    transform: translateX(0);
    color: var(--secondary-color);
}

.footer-section .logo-text h3 {
    color: white;
}

.footer-section .logo-text span {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-section {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: var(--shadow);
        padding: 1rem;
        border-top: 2px solid var(--primary-color);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        padding: 1rem 1.2rem;
        border-radius: 0;
        width: 100%;
    }
    
    .main-nav ul ul {
        position: static;
        box-shadow: none;
        padding: 0;
        background: rgba(26, 77, 143, 0.03);
    }
    
    .main-nav ul ul a {
        padding-right: 2.5rem;
        font-size: 0.9rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .creator-steps {
        flex-direction: column;
    }
    
    .pricing-plans {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .immigration-banner .container {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .category-services {
        grid-template-columns: 1fr;
    }
    
    .document-types {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
}


/* Helper Classes */
.bg-dark {
    background-color: var(--primary-color) !important;
}

/* Contact Form 7 base styles */
.wpcf7 form {
    direction: rtl;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.25rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    color: var(--text-color);
    transition: var(--transition);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form .wpcf7-file {
    border: 1px dashed var(--border-color);
    padding: 0.8rem;
    border-radius: 8px;
    background: #fafafa;
}

.wpcf7-form .wpcf7-submit,
.wpcf7-submit {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.wpcf7-form .wpcf7-submit:hover,
.wpcf7-submit:hover {
    background-color: #0a2e5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.wpcf7-not-valid-tip {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.bg-light {
    background-color: var(--light-color) !important;
}

.text-white {
    color: white !important;
}

.text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Testimonials Styles */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.client-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.client-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.client-info span {
    font-size: 0.9rem;
    color: #666;
}

.rating {
    color: #f1c40f;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.comment {
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

/* Video Card Styles */
.video-card {
    background: #1a2634;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(197, 160, 89, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.video-card:hover .play-btn {
    background: var(--secondary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.video-info p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
}

/* Blog Card Styles */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.blog-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.blog-date .month {
    display: block;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #888;
}

.blog-meta i {
    color: var(--secondary-color);
    margin-left: 5px;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--primary-color);
}

.blog-title a:hover {
    color: var(--secondary-color);
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.read-more:hover {
    gap: 10px;
}

/* About Section Styles */
.about-image {
    position: relative;
    margin-bottom: 2rem;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-features {
    list-style: none;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    font-weight: 500;
}

.about-features i {
    color: var(--success-color);
    font-size: 1.2rem;
}


/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a2e5a 100%);
    padding: 100px 0 60px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Page Content Spacing */
.page-content {
    padding: 80px 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--secondary-color);
    color: white;
}

::-moz-selection {
    background-color: var(--secondary-color);
    color: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(26, 77, 143, 0.3);
    outline-offset: 2px;
}

/* Button Ripple Effect */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Tooltip Styles */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Image Lazy Loading Effect */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Card Glow Effect on Hover */
.pricing-card.featured::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(10px);
}

.pricing-card.featured:hover::after {
    opacity: 0.7;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.illustration-item {
    animation: float 3s ease-in-out infinite;
}

.illustration-item:nth-child(2) {
    animation-delay: 0.5s;
}

.illustration-item:nth-child(3) {
    animation-delay: 1s;
}

.illustration-item:nth-child(4) {
    animation-delay: 1.5s;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Micro-interactions */
.btn,
.service-card,
.pricing-card,
.contact-item,
.doc-type {
    will-change: transform;
}

/* Improve Typography */
h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizeLegibility;
}

p {
    text-rendering: optimizeLegibility;
    hyphens: auto;
}

/* Better Link Hover */
.footer-section a,
.main-nav a {
    position: relative;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #134a7a 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #8f7043 100%);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

