Path : /home/vishqocm/pcib.in/assets/css/
File Upload :
Current File : /home/vishqocm/pcib.in/assets/css/style.css

/* 
 * Modern CSS styles with variables, animations, and 3D backgrounds
 * This file contains styling for the entire website to create a cohesive theme
 */

:root {
  /* Primary color palette */
  --primary-color: #4361ee;
  --secondary-color: #7209b7;
  --accent-color: #f72585;
  --dark-color: #0a1121;
  --light-color: #f8f9fc;
  
  /* Extended color palette */
  --success-color: #2ecc71;
  --warning-color: #f6c23e;
  --danger-color: #e74a3b;
  --info-color: #36b9cc;
  
  /* RGB values for opacity manipulations */
  --primary-rgb: 67, 97, 238;
  --secondary-rgb: 114, 9, 183;
  --accent-rgb: 247, 37, 133;
  --dark-rgb: 10, 17, 33;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  --gradient-dark: linear-gradient(135deg, var(--dark-color), #2a2a72);
  
  /* Shadows and effects */
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --button-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
  --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  --text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  
  /* Border radius */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 36px;
  --border-radius-pill: 50px;
  --border-radius-circle: 50%;
  
  /* Typography */
  --font-family-base: 'Poppins', sans-serif;
  --font-family-heading: 'Montserrat', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Transitions */
  --transition-fast: all 0.3s ease;
  --transition-medium: all 0.5s ease;
  --transition-slow: all 0.8s ease;
  --transition-bounce: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  
  /* Z-index layers */
  --z-background: -1;
  --z-default: 1;
  --z-navbar: 1000;
  --z-dropdown: 1010;
  --z-modal: 1050;
  --z-toast: 1080;
}

/* Base styles */
body {
  font-family: var(--font-family-base);
  background-color: var(--light-color);
  color: var(--dark-color);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  margin-bottom: 1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--dark-color);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 2rem;
}

p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary-color);
}

/* 3D Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-background);
  overflow: hidden;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(125deg, 
    rgba(var(--primary-rgb), 0.02) 0%, 
    rgba(var(--secondary-rgb), 0.05) 35%, 
    rgba(var(--accent-rgb), 0.02) 70%, 
    rgba(var(--primary-rgb), 0.03) 100%);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
}

.bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  background: linear-gradient(45deg, 
    rgba(var(--primary-rgb), 0.05), 
    rgba(var(--secondary-rgb), 0.05));
  border-radius: var(--border-radius-circle);
  backdrop-filter: blur(10px);
  animation: shapeFloat 25s infinite ease-in-out alternate;
  opacity: 0.8;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 20s;
}

.shape-2 {
  width: 500px;
  height: 500px;
  top: 60%;
  right: 5%;
  animation-delay: 2s;
  animation-duration: 25s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 20%;
  animation-delay: 5s;
  animation-duration: 15s;
}

.shape-4 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: 15%;
  animation-delay: 7s;
  animation-duration: 22s;
}

/* Animations */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shapeFloat {
  0% { 
    transform: translate(0, 0) rotate(0deg) scale(1); 
    border-radius: 40%;
  }
  25% { 
    transform: translate(5%, 5%) rotate(5deg) scale(1.1); 
    border-radius: 45%;
  }
  50% { 
    transform: translate(0%, 10%) rotate(10deg) scale(0.9);
    border-radius: 50%; 
  }
  75% { 
    transform: translate(-5%, 5%) rotate(5deg) scale(1.05);
    border-radius: 45%;
  }
  100% { 
    transform: translate(0%, 0%) rotate(0deg) scale(1);
    border-radius: 40%; 
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation classes */
.animate {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.animate-fade-in { animation-name: fadeIn; }
.animate-fade-up { animation-name: fadeInUp; }
.animate-fade-down { animation-name: fadeInDown; }
.animate-scale-up { animation-name: scaleUp; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Common components - Buttons */
.btn {
  display: inline-block;
  font-weight: var(--font-weight-medium);
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-bounce);
  text-transform: none;
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: var(--transition-medium);
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--button-shadow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
  color: white;
}

.btn-accent {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.5);
  color: white;
}

.btn-light {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: var(--primary-color);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-3px);
  color: white;
}

/* Navbar Styling */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-navbar);
  padding: 1rem 0;
  transition: var(--transition-medium);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 40px;
  margin-right: 0.75rem;
}

.navbar-brand-text {
  font-weight: var(--font-weight-bold);
  font-size: 1.5rem;
  color: var(--dark-color);
}

.navbar-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-item {
  margin: 0 0.25rem;
}

.navbar-link {
  padding: 0.75rem 1rem;
  color: var(--dark-color);
  font-weight: var(--font-weight-medium);
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
}

.navbar-link:hover, 
.navbar-link.active {
  color: var(--primary-color);
  background-color: rgba(var(--primary-rgb), 0.05);
}

.navbar-transparent {
  background-color: transparent;
}

.navbar-solid {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar-auth {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

.navbar-auth .btn {
  margin-left: 0.75rem;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
}

.toggle-icon {
  position: relative;
  width: 24px;
  height: 2px;
  background-color: var(--dark-color);
  transition: var(--transition-fast);
  margin: 0 auto;
}

.toggle-icon::before,
.toggle-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--dark-color);
  transition: var(--transition-fast);
  left: 0;
}

.toggle-icon::before {
  transform: translateY(-8px);
}

.toggle-icon::after {
  transform: translateY(8px);
}

.navbar-toggle.active .toggle-icon {
  background-color: transparent;
}

.navbar-toggle.active .toggle-icon::before {
  transform: translateY(0) rotate(45deg);
}

.navbar-toggle.active .toggle-icon::after {
  transform: translateY(0) rotate(-45deg);
}

/* Section Styling */
.section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(var(--dark-rgb), 0.7);
  max-width: 700px;
  margin: 1rem auto 0;
}

/* Page Banner */
.page-banner {
  position: relative;
  padding: 8rem 0 6rem;
  background: var(--gradient-primary);
  color: white;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern-bg.png');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: white;
  margin-bottom: 1rem;
  text-shadow: var(--text-shadow);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  padding: 0 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
  color: white;
}

.breadcrumb-item a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.page-banner-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* Card Styling */
.card {
  background-color: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition-medium);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: var(--font-weight-semibold);
}

.card-body {
  padding: 1.5rem;
  flex: 1;
}

.card-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Courses Hero Section */
.courses-hero {
  background: var(--gradient-primary);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  color: white;
  margin-bottom: 5rem;
}

.courses-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/pattern-bg.png');
  background-size: cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.25rem;
  color: white;
  text-shadow: var(--text-shadow);
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hero-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.hero-shape svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.hero-shape .shape-fill {
  fill: var(--light-color);
}

/* Courses Section */
.courses-section {
  position: relative;
  padding: 5rem 0;
  background-color: var(--light-color);
}