/*
 * Portfolio - Main Stylesheet
 * Author: Rajesh Sharma
 * Description: Main styles for portfolio website
 */

/* ==========================================
   ROOT VARIABLES
========================================== */
:root {
    /* Primary Colors */
    --primary-color: #007BFF;
    --secondary-color: #FF6600;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    
    /* Text Colors */
    --text-dark: #333333;
    --text-muted: #6c757d;
    --text-light: #ffffff;
    
    /* Border & Shadow */
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    /* Transition */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 20px;
    --border-radius-xl: 50px;
}

/* ==========================================
   GLOBAL STYLES
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
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);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section {
    padding: 80px 0;
    position: relative;
}

/* ==========================================
   UTILITY CLASSES
========================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: center;
}

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: var(--white-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-dark { background-color: var(--dark-color) !important; }
.bg-light { background-color: var(--light-color) !important; }

/* ==========================================
   NAVIGATION
========================================== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--dark-color) !important;
}

.navbar.navbar-scrolled {
    background-color: rgba(26, 26, 26, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white-color) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-xl);
    padding: 0.5rem 1.5rem !important;
    color: var(--white-color) !important;
}

.navbar-nav .btn-primary::after {
    display: none;
}

.navbar-nav .btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ==========================================
   HERO SECTION
========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    color: var(--white-color);
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-greeting {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.typing-text {
    color: var(--secondary-color);
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-stats {
    margin: 3rem 0;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--border-radius-xl);
    transition: var(--transition);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-down a {
    color: var(--white-color);
    font-size: 2rem;
}

/* ==========================================
   PAGE HEADER
========================================== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 150px 0 100px;
    text-align: center;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.page-header .lead {
    font-size: 1.3rem;
    opacity: 0.9;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    justify-content: center;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: var(--white-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   FEATURED SKILLS
========================================== */
.featured-skills {
    background-color: var(--white-color);
}

.skill-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--border-radius-md);
    background: var(--white-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* ==========================================
   PROJECT CARDS
========================================== */
.project-card {
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--light-color);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    background: var(--light-color);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.85rem;
}

/* ==========================================
   PROJECT DETAIL
========================================== */
.project-detail {
    padding: 80px 0;
}

.project-number {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-meta {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.project-meta i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.project-description h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.results-list {
    list-style: none;
    padding: 0;
}

.results-list li {
    padding: 0.5rem 0;
}

.results-list i {
    margin-right: 0.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-divider {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--border-color);
}

.project-image-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.project-summary-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.project-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-summary-card .project-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-summary-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tech-list-small {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-list-small li {
    background: var(--light-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.85rem;
}

.tech-badge-large {
    text-align: center;
    padding: 1.5rem;
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tech-badge-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-badge-large i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tech-badge-large p {
    margin: 0;
    font-weight: 500;
}

/* ==========================================
   SKILLS SECTION
========================================== */
.skill-item {
    margin-bottom: 2rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.skill-header i {
    margin-right: 0.5rem;
}

.skill-percentage {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.progress {
    height: 12px;
    border-radius: var(--border-radius-md);
    background-color: var(--light-color);
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-md);
    transition: width 1.5s ease;
}

.skill-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ==========================================
   TECHNOLOGY STACK
========================================== */
.tech-category {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-category h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.tech-category i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-color);
    color: var(--text-muted);
}

.tech-list li:last-child {
    border-bottom: none;
}

/* ==========================================
   SOFT SKILLS
========================================== */
.soft-skill-card {
    text-align: center;
    padding: 2rem;
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.soft-skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.soft-skill-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.soft-skill-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.soft-skill-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.soft-skill-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.cert-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
}

.cert-status.inprogress {
    background: #ffc107;
    color: #fff;
}

.cert-status.planned {
    background: #17a2b8;
    color: #fff;
}

.cert-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.competency-card {
    text-align: center;
    padding: 2rem;
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.competency-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.competency-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

/* ==========================================
   SERVICES
========================================== */
.service-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-color);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-large i {
    font-size: 2rem;
    color: var(--white-color);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.service-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.service-box {
    text-align: center;
    padding: 2rem;
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-box .service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ==========================================
   SERVICE PROCESS
========================================== */
.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.process-step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--white-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.package-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    border: 3px solid var(--primary-color);
}

.package-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
}

.package-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.package-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-color);
}

/* ==========================================
   ABOUT SECTION
========================================== */
.about-image {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--white-color);
}

.experience-badge p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.about-info {
    list-style: none;
    padding: 0;
}

.about-info li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-color);
}

.about-info li:last-child {
    border-bottom: none;
}

.about-info i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
}

/* ==========================================
   TIMELINE (Experience)
========================================== */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: -42px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 4px solid var(--white-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--light-color);
}

.timeline-content {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
}

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.timeline-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.company {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-list {
    list-style: none;
    padding: 0;
}

.timeline-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

/* ==========================================
   EDUCATION
========================================== */
.education-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
    height: 100%;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.edu-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-icon i {
    font-size: 1.5rem;
    color: var(--white-color);
}

.edu-content {
    flex: 1;
}

.edu-date {
    display: inline-block;
    background: var(--light-color);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ==========================================
   TESTIMONIALS
========================================== */
.testimonial-card {
    background: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.author-contact a {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.author-contact a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   CONTACT SECTION
========================================== */
.contact-info-card {
    background: var(--white-color);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.3rem;
    color: var(--white-color);
}

.contact-info-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-info-content a {
    color: var(--primary-color);
}

.social-links-large {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link-large {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-link-large:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow);
}

.form-control {
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.character-counter {
    text-align: right;
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: inherit;
    transition: var(--transition);
}

.quick-links li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   FEATURES / WHY CHOOSE
========================================== */
.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

.feature-box h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================
   PROJECT STATS
========================================== */
.project-stats {
    background: var(--primary-color);
    color: var(--white-color);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ==========================================
   CTA SECTION
========================================== */
.cta-section {
    background: var(--primary-color);
    color: var(--white-color);
}

.cta-section h2 {
    color: var(--white-color);
}

/* ==========================================
   FOOTER
========================================== */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
}

.footer h5,
.footer h6 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.footer-links i {
    margin-right: 0.5rem;
    font-size: 0.7rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--white-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-5px);
}

/* ==========================================
   BACK TO TOP BUTTON
========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--white-color);
    transform: translateY(-5px);
}

/* ==========================================
   BUTTONS
========================================== */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.btn-light {
    background: var(--white-color);
    color: var(--dark-color);
}

.btn-light:hover {
    background: var(--light-color);
    color: var(--dark-color);
}

.btn-outline-light {
    border: 2px solid var(--white-color);
    color: var(--white-color);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white-color);
    color: var(--dark-color);
}

/* ==========================================
   ALERTS
========================================== */
.alert {
    border-radius: var(--border-radius-sm);
    border: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.alert i {
    margin-right: 0.5rem;
}

/* ==========================================
   ACCORDION
========================================== */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    background: var(--white-color);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white-color);
}

.accordion-button:focus {
    box-shadow: none;
}

/* ==========================================
   ERROR PAGE
========================================== */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white-color);
}

.error-content {
    text-align: center;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ==========================================
   PRINT STYLES
========================================== */
@media print {
    .navbar,
    .back-to-top,
    .social-links,
    footer,
    .cta-section,
    .hero-buttons {
        display: none !important;
    }
}
