/* CSS Variables for Dynamic Color Management */
:root {
    --primary-color: #3b82f6;
    --secondary-color: #06b6d4;
    --light-color: #f1f5f9;
    --dark-color: #1e293b;
    --accent-color: #f59e0b;
    
    /* Additional color variations */
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --secondary-light: #22d3ee;
    --secondary-dark: #0891b2;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    
    /* Text colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    /* Background colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    
    /* Border colors */
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --border-dark: #374151;
    
    /* Layout Settings - Dynamic from Admin Panel */
    --website-max-width: 100%;
    --container-type: fluid;
    --content-padding: 20px;
    --section-spacing: 60px;
}

.transparent-topbar .logo,
.transparent-topbar .nav-menu a,
.transparent-topbar .social-icons a {
    color: #fff !important;
}

.transparent-topbar .nav-menu a:hover::after,
.transparent-topbar .nav-menu a.active::after {
    background: #fff !important;
}

.transparent-topbar .nav-menu a:hover::before,
.transparent-topbar .nav-menu a.active::before {
    background: #fff !important;
}

.transparent-topbar .nav-menu a.active {
    color: #fff !important;
}
/* Reset and Base/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Absolutely Top Bar Styles */
.absolutely-topbar {
    height: 50px;
    width: 100%;
    background: var(--dark-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1003;
    font-size: 11px;
    padding: 0 1rem;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emergency-contact {
    display: flex;
    gap: 1rem;
    color: white;
    align-items: center;
}

.emergency-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.emergency-contact .contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    padding-top: inherit;
    font-size: medium;
}

.emergency-contact .contact-item a:hover {
    color: var(--primary-light);
}

.emergency-contact .contact-item:hover i {
    color: var(--primary-light);
}

.emergency-contact .contact-item i {
    font-size: 10px;
    color: white;
    padding-top: inherit;
    transition: color 0.3s ease;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.social-link {
    color: white;
    text-decoration: none;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    transition: all 0.3s ease;
    font-size: 10px;
}

.social-link:hover {
    color: var(--primary-light);
    background: var(--primary-bg);
}

/* Quote Button Styles */
.quote-button {
    display: flex;
    align-items: center;
}

.btn-quote {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 0px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.btn-quote:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.btn-quote i {
    font-size: 10px;
}

body {
    font-family: 'lexend', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    padding-top: 25px;
}

/* Dynamic Layout Styles */
.website-container {
    max-width: var(--website-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* Container Type Styles */
body[data-container-type="fluid"] .website-container {
    max-width: 100%;
    padding: 0 var(--content-padding);
}

body[data-container-type="fixed"] .website-container {
    max-width: var(--website-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

body[data-container-type="boxed"] .website-container {
    max-width: var(--website-max-width);
    margin: 0 auto;
    padding: var(--content-padding);
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Section Spacing */
section, .section {
    margin-bottom: var(--section-spacing);
}

section:last-child, .section:last-child {
    margin-bottom: 0;
}

/* Apply container styles to existing containers */
.container, .topbar-container, .nav-container {
    max-width: var(--website-max-width);
    padding-left: var(--content-padding);
    padding-right: var(--content-padding);
}

/* Main content wrapper */
main {
    max-width: var(--website-max-width);
    margin: 0 auto;
}

/* Company History Section */
.company-history-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-light) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.company-history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--dark-color) 100%, var(--dark-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-primary);
    max-width: calc(var(--website-max-width) * 0.6);
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 var(--content-padding);
}

/* Journey Timeline Styles */
.journey-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: var(--website-max-width);
    margin: 0 auto;
    padding: 2rem var(--content-padding);
}

.journey-card {
    border-radius: 20px;
    padding: 2rem;
    color: var(--text-white);
    position: relative;
    transform: translateY(0);
    transition: all 0.3s ease;
    min-height: 300px;
    background: var(--primary-color);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.journey-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.journey-year {
    position: absolute;
    top: -15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.journey-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.journey-icon i {
    font-size: 1.5rem;
}

.journey-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.journey-card h4 {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.journey-card p {
    line-height: 1.6;
    opacity: 0.9;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .journey-timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .journey-card {
        padding: 1.5rem;
        min-height: 250px;
    }
}

/* Topbar/Navigation */
.topbar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 2rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.transparent-topbar {
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.transparent-topbar .nav-menu a {
    color: white !important;
}

.transparent-topbar .logo {
    color: white !important;
}

.transparent-topbar .dropdown-toggle {
    color: white !important;
}

.transparent-topbar .dropdown-menu a {
    color: var(--dark-color) !important; /* dark text for dropdown */
    
}

/* Scroll Effect for Home Page */
.topbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.topbar.scrolled .nav-menu a {
    color: var(--text-primary) !important;
}

.topbar.scrolled .logo {
    color: var(--primary-color) !important;
}

.topbar.scrolled .dropdown-toggle {
    color: var(--text-primary) !important;
}

.nav-container {
    max-width: var(--website-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    padding-top: 2rem;
    transition: color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    padding-top: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
    display: inline-block;
}

.nav-menu a:hover {
    transform: scale(1.05);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.nav-menu a.active {
    color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.dropdown-toggle i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: none;
}

.dropdown-menu a.active {
    background: var(--primary-color);
    color: white !important;
    font-weight: 600;
}

.dropdown-menu a:hover::after,
.dropdown-menu a:hover::before,
.dropdown-menu a.active::after,
.dropdown-menu a.active::before {
    display: none;
}

.language-dropdown .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 150px;
}

.language-dropdown .dropdown-toggle {
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
}

.social-icons a:hover {
    color: var(--primary-color);
    background: var(--primary-bg);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */ /* এই লাইনটি বাদ দাও */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-bottom: 5rem;
}


.hero-content {
    max-width: var(--website-max-width);
    padding: 0 var(--content-padding);
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    padding-top: 10rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--primary-shadow);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    padding-top: 100px;
    min-height: calc(100vh - 300px);
}

.container {
    max-width: var(--website-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

.page-header {
    text-align: center;
    padding: 20rem 0 10rem 0;
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80'); */
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 3rem;
}

.page-header.blog-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80'); */
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header.portfolio-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80'); */
   background-size: cover;
    background-position: center;
    position: relative;
}

.page-header.contact-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80'); */
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header.about-header {
       /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)); */
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6)); */
    z-index: 1;
}

.service-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80'); */
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* About Us Company Page Styles */
.mission-vision-section {
    padding: 4rem 0;
    background: var(--light-color);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin: 0 auto;
}

.mission-card, .vision-card, .values-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-card:hover, .vision-card:hover, .values-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 100%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.mission-card h3, .vision-card h3, .values-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.company-stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin: 0 auto;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.member-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: #64748b;
    line-height: 1.6;
}

.company-history-section {
    padding: 4rem 0;
    background: var(--light-color);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.about-text p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Styles for CKEditor generated HTML content */
.about-text div p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text div br {
    display: block;
    margin: 0.5em 0;
    content: "";
}

.about-text div h1,
.about-text div h2,
.about-text div h3,
.about-text div h4,
.about-text div h5,
.about-text div h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.about-text div ul,
.about-text div ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.about-text div li {
    margin-bottom: 0.5rem;
    color: #64748b;
    line-height: 1.7;
}

.about-text div blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #64748b;
}

.about-text div strong,
.about-text div b {
    font-weight: 600;
    color: var(--dark-color);
}

.about-text div em,
.about-text div i {
    font-style: italic;
}

.about-text div u {
    text-decoration: underline;
}

.about-image {
    height: 400px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.skills-section {
    padding: 3rem 0;
    background: var(--light-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin: 0 auto;
}

.skill-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 100%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.skill-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.skill-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Progress Bar Styles */
.skill-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 100%, var(--accent-color) 100%);
    border-radius: 4px;
    transition: width 2s ease-in-out;
}

.progress-bar[data-progress="90"]::before {
    width: 90%;
}

.progress-bar[data-progress="85"]::before {
    width: 85%;
}

.progress-bar[data-progress="80"]::before {
    width: 80%;
}

.progress-bar[data-progress="75"]::before {
    width: 75%;
}

.progress-text {
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Portfolio Page Styles */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin-left: auto;
    margin-right: auto;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    position: relative;
    height: 250px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-image i {
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.portfolio-overlay a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.portfolio-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
    text-align: center;
}

.portfolio-title:hover {
    background: rgba(255, 255, 255, 0.3);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.portfolio-content p {
    color: #64748b;
    margin-bottom: 1rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #e2e8f0;
    color: #475569;
}

/* Portfolio Details Styles */
.portfolio-details-content {
    padding: 4rem 0;
}

.project-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-description {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.project-description h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.project-description p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.project-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
}

.project-info-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1.2rem;
}

.info-content h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-content p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.project-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .portfolio-details-content {
        padding: 2rem 0;
    }
    
    .project-info-card {
        margin-top: 2rem;
        position: static;
    }
    
    .project-description {
        padding: 1.5rem;
    }
    
    .project-description h2 {
        font-size: 1.5rem;
    }
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Blog Page Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-image i {
    color: white;
    font-size: 2rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.blog-content p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* Contact Page Styles */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.contact-info p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
   }

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.contact-details p {
    color: #64748b;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: var(--website-max-width);
    margin: 0 auto;
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 100%, var(--accent-color) 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: flex;               /* flex চালু */
    justify-content: center;     /* অনুভূমিক সেন্টার */
    align-items: center;         /* উল্লম্ব সেন্টার */
}


.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--primary-shadow);
}

/* reCAPTCHA Styles */
.recaptcha-group {
    margin-bottom: 2rem;
}

.recaptcha-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    transition: border-color 0.3s ease;
}

.recaptcha-checkbox:hover {
    border-color: #cbd5e1;
}

.recaptcha-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #2563eb;
    cursor: pointer;
}

.recaptcha-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    flex: 1;
}

.recaptcha-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.process-step p {
    color: #64748b;
    line-height: 1.6;
}

.map-section {
    background: #f8fafc;
    padding: 3rem 0;
    margin-bottom: 4rem;
}

.map-container {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    max-width: var(--website-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 10rem 0 2rem;
}

.footer-content {
    max-width: var(--website-max-width);
    margin: 0 auto;
    padding: 0 var(--content-padding);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

/* Timeline Styles for Education and Experience Sections */
.education-section,
.experience-section,
.awards-section {
    padding: 6rem 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.education-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1501504905252-473c47e087f8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.awards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1531545514256-b1400bc00f31?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.timeline {
    position: relative;
    max-width: var(--website-max-width);
    margin: 0 auto;
    padding: 2rem var(--content-padding);
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

.timeline-item {
    padding: 0 2rem 2rem;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 0;
    border: 4px solid #f8fafc;
    box-shadow: 0 0 0 4px var(--primary-bg);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -14px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -14px;
}

.timeline-content {
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* Awards Section Styles */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 var(--content-padding);
    max-width: var(--website-max-width);
    margin: 0 auto;
}

.award-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    padding: 2rem;
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.award-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-content {
    flex: 1;
}

.award-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.award-content h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.award-date {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.5rem;
}

/* Responsive Styles for Timeline and Awards */
@media (max-width: 768px) {
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) {
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 18px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .award-card {
        flex-direction: column;
    }
    
    .award-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        margin-left: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filter {
        flex-direction: column;
        align-items: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile Menu */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Fix dropdown text color in mobile menu for transparent topbar */
.transparent-topbar .nav-menu.active .dropdown-menu a {
    color: #333 !important;
}

@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
    }
}

/* Video Page Styles */
.video-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: white;
    padding: 20rem 0 10rem 0;
    text-align: center;
    position: relative;
}

.video-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.video-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.video-section {
    padding: 80px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
    padding: 25px;
}

.video-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.video-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
}

.video-duration {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Gallery Page Styles */
.gallery-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), linear-gradient(135deg, #f093fb 0%, #f5576c 100%); */
    color: white;
    padding: 20rem 0 10rem 0;
    text-align: center;
    position: relative;
}

.gallery-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.gallery-section {
    padding: 80px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
}

.gallery-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.gallery-content p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.view-btn:hover {
    transform: scale(1.1);
}

/* Testimonial Page Styles */
.testimonial-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); */
    color: white;
    padding: 20rem 0 10rem 0;
    text-align: center;
    position: relative;
}

.testimonial-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.testimonial-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 25px;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
}

/* Testimonial Form Styles */
.testimonial-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.form-wrapper h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1e293b;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-wrapper p {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.testimonial-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* File Upload Styles */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background: rgba(79, 172, 254, 0.05);
    color: var(--primary-color);
}

.file-upload-label i {
    font-size: 1.2rem;
}

/* Rating Input Styles */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input .star {
    font-size: 2rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.rating-input .star:hover,
.rating-input .star:hover ~ .star {
    color: #fbbf24;
    transform: scale(1.1);
}

.rating-input input[type="radio"]:checked ~ .star {
    color: #fbbf24;
}

/* Submit Button Styles */
.form-actions {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-wrapper h2 {
        font-size: 2rem;
    }
    
    .rating-input .star {
        font-size: 1.5rem;
    }
}

/* Case Study Page Styles */
.case-study-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), linear-gradient(135deg, #ffffff 0%, #fee140 100%); */
    color: white;
    padding: 20rem 0 10rem 0;
    text-align: center;
    position: relative;
}

.case-study-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.case-study-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.case-studies-section {
    padding: 80px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.case-study-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-10px);
}

.case-study-image {
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-content {
    padding: 30px;
}

.case-study-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.category {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.duration {
    background: #f0f0f0;
    color: #666;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.case-study-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.case-study-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.case-study-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

/* Pricing Page Styles */
.pricing-header {
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: white;
    padding: 20rem 0 10rem 0;
    text-align: center;
    position: relative;
}

.pricing-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.pricing-section {
    padding: 80px 0;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.toggle-label {
    font-weight: 500;
    color: #333;
}

.discount {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.pricing-header-card p {
    color: #666;
    margin-bottom: 30px;
}

.pricing-price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.2rem;
    color: var(--primary-color);
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.period {
    color: #666;
    font-size: 1rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: #28a745;
}

.pricing-features li.unavailable i {
    color: #dc3545;
}

.pricing-features li.unavailable {
    opacity: 0.5;
}

.pricing-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.pricing-btn:hover {
    background: var(--secondary-color);
}

.pricing-faq {
    text-align: center;
}

.pricing-faq h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* Contact Page Styles */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem; 
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.contact-details p {
    color: #64748b;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
}

.form-input {
    width: 100%;
    padding: 1rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid;
}

.alert-success {
    background-color: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.alert-error {
    background-color: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.alert ul {
    margin: 0;
    padding-left: 1.5rem;
}

.alert li {
    margin-bottom: 0.25rem;
}

.alert li:last-child {
    margin-bottom: 0;
}

/* No Testimonials Message */
.no-testimonials {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* Bootstrap Dropdown Override - Disable Bootstrap dropdown behavior for our custom dropdowns */
.dropdown:not(.bootstrap-dropdown) .dropdown-toggle[data-bs-toggle="dropdown"] {
    pointer-events: none !important;
}

.dropdown:not(.bootstrap-dropdown) .dropdown-menu {
    display: block !important;
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
}

.dropdown:not(.bootstrap-dropdown):hover .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Ensure Bootstrap modals still work */
.modal .dropdown {
    /* Allow Bootstrap dropdown in modals */
}

    