/* Custom Phone Case Design Service - Main CSS */

/* External Libraries */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors - High Contrast Pastels */
  --primary-blue: #5288da;
  --primary-blue-light: #5b84e3;
  --primary-blue-dark: #2a5578;
  
  --accent-purple: #a265b8;
  --accent-purple-light: #b68ccc;
  --accent-purple-dark: #733193;
  
  --accent-pink: #db4e32;
  --accent-pink-light: #ff9576;
  --accent-pink-dark: #a7160d;
  
  --success-green: #27b773;
  --success-green-light: #67cd90;
  --success-green-dark: #237546;
  
  --warning-orange: #ec9820;
  --warning-orange-light: #f7c663;
  --warning-orange-dark: #9e8405;
  
  /* Neutral Colors */
  --dark-navy: #2a384e;
  --light-gray: #F8F9FA;
  --medium-gray: #808b95;
  --white: #FFFFFF;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
  --gradient-secondary: linear-gradient(135deg, var(--accent-pink), var(--warning-orange));
  --gradient-success: linear-gradient(135deg, var(--success-green), var(--primary-blue));
  
  /* Typography */
  --font-family: 'Inter', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-max-width: 1200px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-navy);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Reduced Motion Support */
@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 - Conservative Sizes */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

h1 { font-size: 2.55rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.88rem; }
h4 { font-size: 1.54rem; }
h5 { font-size: 1.35rem; }
h6 { font-size: 1.21rem; }

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  color: var(--medium-gray);
}

/* Header & Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.30rem;
  font-weight: 700;
  color: var(--primary-blue) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-navy) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background: var(--gradient-primary);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-title {
  font-size: 3.55rem;
  font-weight: 700;
  margin-bottom: 1.73rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 2.56rem;
  opacity: 0.8;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.hero-shape:nth-child(2) {
  width: 150px;
  height: 150px;
  bottom: 30%;
  left: 15%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

.section-subtitle {
  text-align: center;
  font-size: 1.37rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--medium-gray);
}

/* About Features */
.about-feature {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 13px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 19px 35px rgba(0, 0, 0, 0.15);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Services Section */
.services-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 13px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.services-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 19px 35px rgba(0, 0, 0, 0.15);
}

.services-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.services-content {
  padding: 2rem;
}

.services-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-pink);
  margin-bottom: 1rem;
}

.services-features {
  list-style: none;
  padding: 0;
}

.services-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.services-features li:last-child {
  border-bottom: none;
}

.services-features li i {
  color: var(--success-green);
  margin-right: 0.5rem;
}

/* Features Section */
.features-item {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
}

.features-item i {
  font-size: 4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.73rem;
}

/* Price Plan Section */
.priceplan-item {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.priceplan-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.priceplan-item.featured {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.05);
}

.priceplan-price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.priceplan-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.priceplan-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.priceplan-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 9px solid var(--primary-blue);
  display: block;
}

.team-role {
  color: var(--accent-purple);
  font-weight: 500;
}

/* Reviews Section */
.reviews-item {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  position: relative;
}

.reviews-item::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-blue);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
}

.reviews-author {
  font-weight: 600;
  color: var(--dark-navy);
  margin-top: 1rem;
}

/* Case Study Section */
.casestudy-item {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.casestudy-item:hover {
  background: var(--white);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* Process Section */
.process-item {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.54rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Section */
.timeline-item {
  border-left: 3px solid var(--primary-blue);
  padding-left: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-blue);
  position: absolute;
  left: -7.5px;
  top: 0;
}

/* Career Section */
.career-item {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 13px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.career-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.career-role {
  color: var(--accent-purple);
  font-weight: 500;
  font-size: 1.19rem;
}

/* Core Info Section */
.coreinfo-item {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
}

.coreinfo-item i {
  font-size: 3rem;
  color: var(--warning-orange);
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.1);
}

.contact-info {
  padding: 2rem;
}

.contact-info h4 {
  color: var(--dark-navy);
  margin-bottom: 1.71rem;
}

.contact-info p {
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.contact-info i {
  color: var(--primary-blue);
  margin-right: 0.5rem;
}

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  font-family: var(--font-family);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(55, 122, 216, 0.25);
  outline: none;
}

.form-check-input:checked {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-submit {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 9px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
  font-family: var(--font-family);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(92, 171, 241, 0.30);
}

/* Blog Section */
.blog-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

.blog-content {
  padding: 2rem;
}

.blog-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--accent-purple);
}

/* FAQ Section */
.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  background: var(--light-gray);
  padding: 1.5rem;
  margin: 0;
  font-weight: 600;
  color: var(--dark-navy);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--medium-gray);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Gallery Section */
.gallery {
  padding: 0;
}

.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: var(--dark-navy);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p, .footer small {
  color: rgba(255, 255, 255, 0.8);
}

.footer a {
  color: var(--primary-blue);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent-purple);
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 0.60rem;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-gray);
  margin-top: 80px;
}

.breadcrumb-image {
  height: 40px;
  width: auto;
}

/* Background Classes */
.bg-light {
  background-color: var(--light-gray) !important;
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.rounded-custom {
  border-radius: 12px;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* Back to Top Button */
#b094c5k-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  border: none;
}

#b89fc9k-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(62, 125, 251, 0.30);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.preloader .spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--light-gray);
  border-top: 3px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
