/* Custom CSS for Phase Academy */

:root {
  --primary-color: #41c3d8;
  --secondary-color: #7fec72;
  --tertiary-color: #4f4e4f;
  --accent-red: #fb6262;
  --accent-yellow: #ddba1e;
  --accent-purple: #965d9b;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation Styles */
.navbar {
  transition: all 0.3s ease;
}

.navbar-brand .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header Logo - SIGNIFICANTLY INCREASED SIZE */
.navbar-brand img {
  max-height: 100px; /* Increased from 50px */
  width: auto;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(65, 195, 216, 0.1) 0%, rgba(127, 236, 114, 0.1) 100%);
}

.hero-section h1 {
  color: var(--text-dark);
}

.hero-section .lead {
  color: var(--text-light);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #35a8bb;
  border-color: #35a8bb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(65, 195, 216, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Features Section */
.features-section {
  background-color: var(--white);
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
}

.feature-card h4 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 15px;
}

/* Courses Overview */
.course-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(65, 195, 216, 0.2);
}

.course-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.course-card h3 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 15px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #35a8bb 100%);
  padding: 10px 0 10px;
  margin-bottom: 0;
}

.page-header h1 {
  margin-bottom: 10px;
   font-size: 1.5rem;
}

/* Value Cards */
.value-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.value-icon {
  font-size: 3rem;
  color: var(--primary-color);
}

/* Offer Cards */
.offer-card {
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.offer-card:hover {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.offer-card i {
  font-size: 2rem;
}

/* Class Cards */
.class-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(65, 195, 216, 0.2);
}

.class-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.class-card h4 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 15px;
}

.class-card ul li {
  padding: 8px 0;
  color: var(--text-light);
}

/* Extra Course Cards */
.extra-course-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.extra-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.extra-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Achievement Cards */
.achievement-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(65, 195, 216, 0.2);
}

.achievement-icon {
  font-size: 4rem;
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.achievement-card h3 {
  color: var(--primary-color);
}

/* Result Cards */
.result-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.result-card h4 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 20px;
}

/* Highlight Cards */
.highlight-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, #35a8bb 100%);
  padding: 30px;
  border-radius: 12px;
  color: var(--white);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(65, 195, 216, 0.3);
}

.highlight-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 15px;
}

/* Gallery Styles */
.nav-pills .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 20px;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h5 {
  margin-bottom: 5px;
  font-weight: 700;
}

.gallery-overlay p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Video Cards */
.video-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
  position: relative;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: var(--white);
  opacity: 0.9;
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Contact Styles */
.contact-info-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-card h5 {
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-info-card a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--primary-color);
}

.social-links-large {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links-large .btn {
  flex: 1;
  min-width: 120px;
}

.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(65, 195, 216, 0.25);
}

.hours-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hours-card table td {
  padding: 5px 0;
}

/* Footer */
.footer {
  background-color: #009cb1;
  color: #b0b0b0;
  padding: 5px 0 5px 0;
}

.footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}

/* Footer Logo - SIGNIFICANTLY INCREASED SIZE */
.footer img[alt*="Logo"] {
  max-height: 70px; /* Increased from 60px */
  width: auto;
  opacity: 0.9;
  margin-bottom: 10px;
}

.footer .logo-text {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-link-plain {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link-plain:hover {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .feature-icon,
  .course-icon,
  .value-icon {
    font-size: 2.5rem;
  }

  .page-header {
    padding: 60px 0 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .social-links-large {
    flex-direction: column;
  }

  .social-links-large .btn {
    width: 100%;
  }

  .contact-form-card {
    padding: 25px;
  }

  /* Mobile Logo Adjustments - INCREASED SIZE */
  .navbar-brand img {
    max-height: 70px; /* Increased from 40px */
  }

  .footer img[alt*="Logo"] {
    max-height: 60px; /* Increased from 30px */
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}
/* Make copyright line text white */
.footer .text-muted,
.footer .footer-link-plain {
    color: white !important;
}

.footer .footer-link-plain:hover {
    font: weight 700px !important;
    text-decoration: underline;
}
/* Image Slider Styling */
#heroSlider {
    max-height: 400px;
    overflow: hidden;
}

#heroSlider .carousel-item {
    height: 400px;
}

#heroSlider .carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: #0dcaf0;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10px;
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
}

/* Remove indicators and captions */
#heroSlider .carousel-indicators,
#heroSlider .carousel-caption {
    display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #heroSlider {
        max-height: 300px;
    }
    
    #heroSlider .carousel-item {
        height: 300px;
    }
}
/* Around line 272 in your CSS */
@media (max-width: 768px) {
    .page-header {
        padding: 0px 0 0px !important; /* Change from 60px 0 40px to 20px 0 20px */
    }
    
    .page-header h1 {
        font-size: 1.8rem !important; /* Adjust heading size for smaller padding */
    }
    
    .page-header .lead {
        font-size: 1rem !important; /* Adjust subtitle size */
    }
}
.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.my-4 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}
/* Simple override for gallery tabs */
#galleryTabs .nav-link {
    background: white !important;
    color: #2c3e50 !important;
    border: 2px solid #41c3d8 !important;
}

#galleryTabs .nav-link.active {
    background: #41c3d8 !important;
    color: white !important;
}

#galleryTabs .nav-link:hover {
    background: #e6f7fa !important;
    color: #2c3e50 !important;
}

#galleryTabs .nav-link.active:hover {
    background: #41c3d8 !important;
    color: white !important;
}
.note-box {
    background-color: #f8f9fa;
    border-left: 4px solid #41c3d8;
    border-radius: 4px;
    max-width: 800px;
    margin: 0 auto;
}
/* Map in Left Column */
.map-card-left {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #41c3d8;
}

.map-card-left h5 {
    color: #333;
    font-size: 1.1rem;
}

.map-container-left iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/* Ensure proper spacing */
.contact-info-card + .mt-4 {
    margin-top: 2rem !important;
}
.text-primary
{
    --bs-text-opacity: 1;
    color: #41c3d8 !important;
}
.text-success 
{
  --bs-text-opacity: 1;
    color:#41c3d8  !important;
}
.bg-warning {
    --bs-bg-opacity: 1;
    background-color:#41c3d8 !important;
}
/* Footer Address Hover Effect */
.footer p.text-muted a {
    color: inherit !important;
    text-decoration: none;
    transition: font-weight 0.3s ease;
}

.footer p.text-muted a:hover {
    font-weight: 700 !important;
}
/* Student Grid Items */
.student-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 100%;
}

.student-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.student-item .student-image {
    width: 140px;
    height: 155px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #41c3d8;
}

.student-item .student-image img {
    width: 100%;
    height: 117%;
    object-fit: cover;
}

.student-item h5 {
    font-size: 1.1rem;
    margin: 15px 0 5px;
    color: #0f0f0f;
}

.student-item .score {
    background: linear-gradient(135deg, #41c3d8, #41c3d8);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: bold;
    display: inline-block;
    margin: 8px 0;
    font-size: 0.9rem;
}

.student-item p {
    margin: 3px 0;
    font-size: 1rem;
    color: #0f0f0f;
}

.student-item small {
    color: #0f0f0f;
    font-size: 1rem;
}
.footer .text-muted {
    margin: 0;
    padding: 4px; /* Changed from 4 to 4px */
    box-sizing: border-box;
}
.mb-1 {
    margin-bottom: -0.75rem !important;
}
/* Footer Phone Numbers Hover Effect - Matching Quick Links */
.footer .contact-info a {
    color: white !important;
    text-decoration: none;
    transition: font-weight 0.3s ease;
}

.footer .contact-info a:hover {
    font-weight: 700 !important;
}
/* Text Justify for About Page */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
}
/* Contact Us Button Hover */
.cta-section .btn-light {
    background-color: #f8f9fa;
    border-color: #009cb1;
    color: #009cb1;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background-color: #41c3d8; /* Your primary color */
    border-color: #41c3d8;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(65, 195, 216, 0.3);
}









