/* [INTECAR Modern Stylesheet v2.0] */

/* :: 1.0 Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Raleway:wght@400;600;700&display=swap');

/* :: 2.0 Import All CSS */
@import url(css/bootstrap.min.css);
@import url(css/owl.carousel.min.css);
@import url(css/animate.css);
@import url(css/magnific-popup.css);
@import url(css/font-awesome.min.css);
@import url(css/custom-icon.css);
@import url(css/classy-nav.min.css);

/* :: 3.0 Variables */
:root {
  --primary-color: #FF1744;
  --secondary-color: #2196F3;
  --accent-color: #00BFA5;
  --dark-color: #1a1a2e;
  --light-color: #f5f5f5;
  --text-color: #333333;
  --gradient-1: linear-gradient(135deg, #FF1744 0%, #F50057 100%);
  --gradient-2: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  --gradient-3: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* :: 4.0 Base CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  color: #666;
  margin-bottom: 1rem;
  font-weight: 400;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* :: 5.0 Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* :: 6.0 Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-1);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-preloader {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* :: 7.0 ScrollUp Button */
#scrollUp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}

#scrollUp.show {
  opacity: 1;
  visibility: visible;
}

#scrollUp:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(255,23,68,0.4);
}

/* :: 8.0 Section Spacing */
.section-padding-100 {
  padding: 100px 0;
}

.section-padding-100-0 {
  padding: 100px 0 0;
}

.section-padding-0-100 {
  padding: 0 0 100px;
}

.section-padding-100-70 {
  padding: 100px 0 70px;
}

/* :: 9.0 Section Heading */
.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  position: relative;
}

.section-heading span {
  display: inline-block;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  position: relative;
  padding: 0 20px;
}

.section-heading span::before,
.section-heading span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background: var(--gradient-1);
}

.section-heading span::before {
  left: -60px;
}

.section-heading span::after {
  right: -60px;
}

.section-heading h3 {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.section-heading p {
  font-size: 18px;
  color: #666;
  margin-bottom: 0;
}

/* :: 10.0 Header Area */
.header-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.header-area.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-md);
}

.top-header {
  background: linear-gradient(to right, #fce4ec, #fff);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,23,68,0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.academy-logo img {
  height: 60px;
  transition: var(--transition);
}

.academy-logo:hover img {
  transform: scale(1.05);
}

.login-content {
  text-align: right;
}

.login-content h2 {
  font-size: 24px;
  margin-bottom: 5px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s ease-in-out infinite;
}

.login-content font {
  font-size: 12px !important;
}

/* :: 11.0 Navigation Menu */
.academy-main-menu {
  background: white;
  padding: 15px 0;
}

.classy-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.classynav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.classynav ul li {
  position: relative;
  margin: 0 20px;
}

.classynav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.classynav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.classynav ul li a:hover {
  color: var(--primary-color);
}

.classynav ul li a:hover::after {
  width: 100%;
}

/* :: 12.0 Calling Info */
.calling-info {
  display: flex;
  align-items: center;
}

.call-center {
  background: var(--gradient-1);
  padding: 12px 30px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.call-center:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.call-center a {
  color: white !important;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.call-center i {
  font-size: 20px;
  margin-right: 10px;
  animation: pulse 1.5s ease-in-out infinite;
}

/* :: 13.0 Hero Area */
.hero-area {
  margin-top: 140px;
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: relative;
}

.single-hero-slide {
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.single-hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,26,46,0.9) 0%, rgba(255,23,68,0.7) 100%);
  z-index: 1;
}

.hero-slides-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.hero-slides-content h4 {
  color: white;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
  opacity: 0.9;
}

.hero-slides-content h2 {
  color: white;
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* :: 14.0 Buttons */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.academy-btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--gradient-1);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.academy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-2);
  transition: left 0.3s ease;
  z-index: -1;
}

.academy-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.academy-btn:hover::before {
  left: 0;
}

.academy-btn.btn-sm {
  padding: 10px 25px;
  font-size: 14px;
}

/* :: 15.0 Top Features Area */
.top-features-area {
  position: relative;
  margin-top: -50px;
  z-index: 10;
}

.features-content {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  transform: translateY(-50px);
}

.single-top-features {
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.single-top-features::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--gradient-1);
  opacity: 0;
  transform: rotate(45deg);
  transition: var(--transition);
  z-index: -1;
}

.single-top-features:hover {
  transform: translateY(-10px);
}

.single-top-features:hover::before {
  opacity: 0.1;
}

.single-top-features i {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
  transition: var(--transition);
}

.single-top-features:hover i {
  transform: rotateY(360deg);
}

.single-top-features h5 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0;
}

/* :: 16.0 Course Area */
.academy-courses-area {
  background: #f8f9fa;
  position: relative;
}

.single-course-area {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.single-course-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.single-course-area:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.single-course-area:hover::before {
  transform: scaleX(1);
}

.course-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}

.course-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.single-course-area:hover .course-icon {
  transform: rotate(10deg) scale(1.1);
}

.course-content h5 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
  transition: var(--transition);
}

.single-course-area:hover .course-content h5 {
  color: var(--primary-color);
}

/* :: 17.0 Popular Courses */
.single-top-popular-course {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 30px;
  position: relative;
}

.single-top-popular-course:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.popular-course-thumb {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.popular-course-thumb::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.single-top-popular-course:hover .popular-course-thumb::after {
  opacity: 1;
}

.popular-course-content {
  padding: 30px;
}

.popular-course-content h5 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
}

.popular-course-content span {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
  display: block;
}

.course-ratings {
  margin-bottom: 20px;
}

.course-ratings i {
  color: #ffc107;
  font-size: 16px;
}

/* :: 18.0 CTA Area */
.call-to-action-area {
  background: var(--gradient-3);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.call-to-action-area::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h3 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 0;
}

/* :: 19.0 Footer Area */
.footer-area {
  background: var(--dark-color);
  color: #ccc;
  padding-top: 80px;
  position: relative;
}

.footer-widget {
  margin-bottom: 40px;
}

.widget-title h6 {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.widget-title h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-1);
}

.footer-social-info a {
  display: block;
  color: #ccc;
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-social-info a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-social-info i {
  width: 30px;
  margin-right: 10px;
}

.useful-links li {
  margin-bottom: 10px;
}

.useful-links a {
  color: #ccc;
  transition: var(--transition);
}

.useful-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.gallery-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: block;
}

.gallery-img img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-img:hover img {
  transform: scale(1.1);
}

.single-contact {
  margin-bottom: 20px;
}

.single-contact i {
  color: var(--primary-color);
  font-size: 20px;
  margin-right: 15px;
}

.bottom-footer-area {
  background: #0d0d1a;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.bottom-footer-area p {
  color: #999;
  margin: 0;
}

/* :: 20.0 Breadcrumb Area */
.breadcumb-area {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 200px 0 100px;
  margin-top: 140px;
}

.breadcumb-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,26,46,0.9) 0%, rgba(255,23,68,0.7) 100%);
}

.bradcumbContent {
  position: relative;
  z-index: 1;
  text-align: center;
  background: white;
  padding: 40px 60px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: inline-block;
  animation: fadeInUp 0.8s ease;
}

.bradcumbContent h2 {
  font-size: 48px;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

/* :: 21.0 Contact Area */
.contact-content {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 60px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.contact-information {
  padding-right: 30px;
}

.contact-social-info {
  margin-bottom: 30px;
}

.contact-social-info a {
  display: inline-block;
  margin-right: 20px;
  color: var(--primary-color);
  font-size: 20px;
  transition: var(--transition);
}

.contact-social-info a:hover {
  transform: translateY(-5px);
}

.single-contact-info {
  margin-bottom: 20px;
}

.contact-icon {
  color: var(--primary-color);
  font-size: 24px;
  margin-right: 15px;
}

.contact-form-area {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 20px;
}

.form-control {
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 16px;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 20px;
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(255,23,68,0.1);
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* :: 22.0 Gallery Area */
.gallery-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.gallery-img {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: block;
  height: 200px;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-img:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.gallery-img:hover img {
  transform: scale(1.1);
}

/* :: 23.0 About Us Area */
.about-us-area {
  position: relative;
}

.about-us-area img {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  margin: 20px 0;
}

/* :: 24.0 Responsive Design */
@media (max-width: 991px) {
  .classynav {
    display: none;
  }
  
  .classy-navbar-toggler {
    display: block;
    position: relative;
    z-index: 1;
    cursor: pointer;
  }
  
  .classy-navbar-toggler span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--dark-color);
    margin: 6px 0;
    transition: var(--transition);
  }
  
  .hero-slides-content h2 {
    font-size: 40px;
  }
  
  .section-heading h3 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .hero-slides-content h2 {
    font-size: 30px;
  }
  
  .section-heading h3 {
    font-size: 28px;
  }
  
  .single-course-area {
    text-align: center;
  }
  
  .course-icon {
    margin: 0 auto 20px;
  }
  
  .contact-content {
    padding: 40px 20px;
  }
  
  .gallery-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* :: 25.0 Additional Effects */
.wow {
  visibility: hidden;
}

.animated {
  visibility: visible;
}

/* Hover Effects for Cards */
.hover-effect {
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hover-effect::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,23,68,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hover-effect:hover::before {
  width: 300%;
  height: 300%;
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Modern Box Shadow */
.modern-shadow {
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-1);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Modern Input Focus */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255,23,68,0.1);
}

/* Smooth Transitions */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Performance Optimizations */
.will-change-transform {
  will-change: transform;
}

.hardware-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}