/* Hand Lettering Course - Main CSS */

/* CSS Variables - Color Palette */
:root {
  --primary-color: #6366f1;
  --primary-light: #a5b4fc;
  --primary-dark: #4338ca;
  
  --secondary-color: #f59e0b;
  --secondary-light: #fbbf24;
  --secondary-dark: #d97706;
  
  --accent-color: #10b981;
  --accent-light: #34d399;
  --accent-dark: #059669;
  
  --text-color: #1f2937;
  --text-light: #6b7280;
  --text-dark: #111827;
  
  --background-color: #ffffff;
  --background-light: #f9fafb;
  --background-dark: #f3f4f6;
  
  --border-color: #e5e7eb;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body { overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  font-size: 16px;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Header & Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-primary);
  color: white;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.hero-section .container-fluid {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section h2 {
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px var(--shadow-color);
}

.service-card .card-body {
  padding: 1.5rem;
}

.service-card h5 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: 1rem;
}

/* Feature Items */
.feature-item, .feature-box {
  padding: 2rem 1rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 4px var(--shadow-color);
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-item:hover, .feature-box:hover {
  transform: translateY(-3px);
}

.feature-item i, .feature-box i {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Price Cards */
.price-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.price-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.price-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.price-card ul li:last-child {
  border-bottom: none;
}

/* Team Members */
.team-member {
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 4px var(--shadow-color);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-3px);
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.team-member h5 {
  color: var(--primary-color);
  margin: 1rem 0 0.5rem;
}

.team-member p {
  color: var(--text-light);
  margin: 0;
}

/* Testimonials */
.testimonials-swiper {
  padding: 2rem 0;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow-color);
  margin: 1rem;
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.testimonial-card h6 {
  color: var(--primary-color);
  font-weight: 600;
}

/* Case Studies */
.case-study-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: transform 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.case-study-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-study-card h5, .case-study-card p {
  padding: 0 1.5rem;
}

.case-study-card h5 {
  color: var(--primary-color);
  margin: 1rem 0;
}

.case-study-card p {
  margin-bottom: 1.5rem;
}

/* Process Steps */
.process-step {
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 4px var(--shadow-color);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-step h6 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 6px var(--shadow-color);
  width: calc(50% - 2rem);
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
}

.timeline-item:nth-child(even) {
  margin-left: calc(50% + 2rem);
}

.timeline-item h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Career Cards */
.career-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: transform 0.3s ease;
  height: 100%;
}

.career-card:hover {
  transform: translateY(-5px);
}

.career-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.career-card span {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Info Cards */
.info-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: transform 0.3s ease;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card i {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.info-card h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--shadow-color);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card h5, .blog-card p, .blog-card a {
  padding: 0 1.5rem;
}

.blog-card h5 {
  color: var(--primary-color);
  margin: 1rem 0;
}

.blog-card a {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.blog-card a:hover {
  color: var(--secondary-dark);
}

/* FAQ */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: white;
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body { overflow-x: hidden;
  padding: 1.5rem;
  background: var(--background-light);
}

/* Contact Form */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gradient-primary);
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 0.75rem;
  width: 20px;
}

/* Gallery */
#gallery img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

#gallery img:hover {
  transform: scale(1.05);
}

/* Element Cards for Additional Pages */
.element-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 4px var(--shadow-color);
  transition: transform 0.3s ease;
  height: 100%;
}

.element-card:hover {
  transform: translateY(-3px);
}

.element-card h6 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.element-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--background-light);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-icon {
  height: 24px;
  width: auto;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  margin-top: 3rem;
}

footer h5, footer h6 {
  color: white;
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

/* Space Page */
#space {
  background: var(--gradient-secondary);
  color: white;
}

/* Utility Classes */
.bg-light {
  background-color: var(--background-light) !important;
}

.text-center {
  text-align: center;
}

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.py-5 { padding: 3rem 0; }
.py-4 { padding: 2rem 0; }
.py-2 { padding: 0.5rem 0; }

/* Swiper Customization */
.swiper-pagination-bullet {
  background: var(--primary-color);
}

.swiper-pagination-bullet-active {
  background: var(--secondary-color);
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
