/* Study Abroad Page Specific Styles */

/* Shared section header styles to match Home/Services/About */
.section-header { margin-bottom: 30px; }
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(230, 57, 70, 0.1));
  color: #1e3a5f !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 58, 95, 0.1);
}
.section-divider { width: 80px; height: 3px; background: linear-gradient(to right, #e63946, #1e3a5f); margin-top: 15px; border-radius: 3px; }
.section-header h2 { color: #1e3a5f !important; font-weight: 700; font-size: 2.2rem; }
.section-header .text-primary { color: #1e3a5f !important; }
.section-header p { color: #6c757d; }

/* Hero - match Study India */
.study-abroad-hero-section {
  background: linear-gradient(135deg, #1e3a5f, #2a4f80);
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 100px 0 150px;
  overflow: hidden;
  color: white;
}

.study-abroad-hero-section .container { position: relative; z-index: 2; }
.animated-bg-elements { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; }
.bg-element { position: absolute; background: rgba(255, 255, 255, 0.05); border-radius: 50%; }
.element-1 { width: 300px; height: 300px; top: -150px; left: -100px; animation: float 15s infinite ease-in-out; }
.element-2 { width: 200px; height: 200px; top: 60%; right: -50px; animation: float 18s infinite ease-in-out reverse; }
.element-3 { width: 150px; height: 150px; bottom: 10%; left: 15%; animation: float 12s infinite ease-in-out; }
.element-4 { width: 100px; height: 100px; top: 20%; right: 20%; animation: float 10s infinite ease-in-out reverse; }
@keyframes float { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(5deg); } 100% { transform: translateY(0) rotate(0deg); } }
.hero-badge { display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 50px; padding: 8px 16px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.badge-icon { width: 32px; height: 32px; background: linear-gradient(135deg, #1e3a5f, #2a4f80); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; margin-right: 10px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); }
.badge-text { color: white; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.5px; }
.hero-title { color: white; line-height: 1.2; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); }
.text-gradient { background: linear-gradient(to right, #ffffff, #f8f9fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-secondary { background: linear-gradient(to right, #f8f9fa, #e63946); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { color: rgba(255, 255, 255, 0.9); max-width: 600px; margin-left: auto; margin-right: auto; }
.shadow-hover { box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3); transition: all 0.3s ease; }
.shadow-hover:hover { box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4); transform: translateY(-2px); }
.study-abroad-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 400px; margin: 0 auto; }
.stat-card { background: rgba(255, 255, 255, 0.1); border-radius: 15px; padding: 25px 20px; text-align: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); transition: all 0.3s ease; }
.stat-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.15); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.stat-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #e63946, #dc3545); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; color: white; font-size: 20px; }
.stat-content h3 { color: white; font-size: 2rem; font-weight: 700; margin-bottom: 5px; text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
.stat-content p { color: rgba(255, 255, 255, 0.8); margin: 0; font-size: 0.9rem; }
.curve-separator { position: absolute; bottom: -1px; left: 0; width: 100%; height: 100px; z-index: 2; }
.curve-separator svg { width: 100%; height: 100%; }
.min-vh-80 { min-height: 80vh; }
@media (max-width: 991.98px) { .study-abroad-hero-section { min-height: 80vh; padding: 80px 0 120px; } .hero-title { font-size: 2.5rem !important; } .study-abroad-stats-grid { max-width: 300px; } .stat-card { padding: 20px 15px; } .stat-content h3 { font-size: 1.5rem; } }
@media (max-width: 767.98px) { .study-abroad-hero-section { min-height: 70vh; padding: 60px 0 100px; } .hero-title { font-size: 2rem !important; } .study-abroad-stats-grid { grid-template-columns: 1fr; max-width: 250px; } .hero-badge { padding: 6px 12px; } .badge-icon { width: 28px; height: 28px; } .badge-text { font-size: 0.8rem; } .hero-actions { flex-direction: column; } .hero-actions .btn { width: 100%; margin-bottom: 15px; } }
@media (max-width: 575.98px) { .hero-title { font-size: 1.8rem !important; } .stat-card { padding: 15px 10px; } .stat-icon { width: 40px; height: 40px; font-size: 16px; } .stat-content h3 { font-size: 1.3rem; } }

/* Study Abroad Courses - match Study India exactly */
.service {
    background: #ffffff;
    position: relative;
}

.service .container {
    position: relative;
    z-index: 2;
}

/* Section Header Styles - Study Abroad Specific */
.study-abroad-section-header {
    margin-bottom: 30px;
}

.study-abroad-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(230, 57, 70, 0.1));
    color: #1e3a5f !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.study-abroad-section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #e63946, #1e3a5f);
    margin-top: 15px;
    border-radius: 3px;
}

.study-abroad-section-header h2 {
    color: #1e3a5f !important;
    font-weight: 700;
    font-size: 2.5rem;
}

.study-abroad-section-header .text-primary {
    color: #1e3a5f !important;
}

.study-abroad-section-header p {
    color: #6c757d;
}

/* Service Card Styles - Study Abroad Specific */
.study-abroad-service-card {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.study-abroad-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.study-abroad-service-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.study-abroad-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.study-abroad-service-card:hover .study-abroad-service-image img {
    transform: scale(1.1);
}

.study-abroad-service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(30, 58, 95, 0.7)
    );
    z-index: 1;
}

.study-abroad-service-content {
    padding: 30px;
    position: relative;
}

.study-abroad-service-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e3a5f;
    position: relative;
    padding-bottom: 15px;
}

.study-abroad-service-content h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e63946;
    border-radius: 2px;
}

.study-abroad-service-content p {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.7;
}

.study-abroad-service-btn {
    display: inline-flex;
    align-items: center;
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.study-abroad-service-btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e63946;
    transition: all 0.3s ease;
}

.study-abroad-service-btn i {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.study-abroad-service-btn:hover {
    color: #e63946;
}

.study-abroad-service-btn:hover::after {
    width: 100%;
}

.study-abroad-service-btn:hover i {
    transform: translateX(5px);
}

.text-gradient {
    background: linear-gradient(to right, #1e3a5f, #e63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-glow {
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .study-abroad-service-image {
        height: 180px;
    }

    .study-abroad-service-content {
        padding: 25px;
    }

    .study-abroad-service-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .study-abroad-service-card {
        margin-bottom: 20px;
    }
    
    .study-abroad-section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .study-abroad-service-image {
        height: 160px;
    }

    .study-abroad-service-content {
        padding: 20px;
    }

    .study-abroad-service-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .study-abroad-service-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

/* Universities - match Study India exactly */
.study-abroad-universities-header {
    margin-bottom: 3rem;
}

.study-abroad-universities-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(230, 57, 70, 0.1));
    color: #1e3a5f !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.study-abroad-universities-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #e63946, #1e3a5f);
    margin-top: 15px;
    border-radius: 3px;
}

.study-abroad-university-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.study-abroad-university-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.study-abroad-university-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.study-abroad-university-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.study-abroad-university-card:hover .study-abroad-university-image img {
    transform: scale(1.1);
}

.study-abroad-university-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(42, 79, 128, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.study-abroad-university-card:hover .study-abroad-university-overlay {
    opacity: 1;
}

.study-abroad-university-overlay-content h5 {
    font-weight: 700;
    line-height: 1.3;
}

.study-abroad-university-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.study-abroad-university-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.study-abroad-university-content p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.study-abroad-university-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.study-abroad-stat-item {
    font-size: 0.8rem;
    color: #1e3a5f;
    font-weight: 600;
}

.study-abroad-university-btn {
    display: inline-flex;
    align-items: center;
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.study-abroad-university-btn:hover {
    color: #2a4f80;
    transform: translateX(5px);
}

.study-abroad-university-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.study-abroad-university-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .study-abroad-university-content {
        padding: 1.25rem;
    }
    
    .study-abroad-university-content h4 {
        font-size: 1.1rem;
    }
    
    .study-abroad-university-image {
        height: 180px;
    }
    
    .study-abroad-university-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Visa/Travel support */
.visa-travel-support { background: #f8f9fa; }
.visa-travel-support .visa-support-card {
  position: relative;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.visa-travel-support .visa-support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.visa-travel-support .visa-support-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.1), rgba(30, 58, 95, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #1e3a5f;
  transition: all 0.3s ease;
  margin: 0 auto 20px;
}

.visa-travel-support .visa-support-card:hover .visa-support-icon {
  background: linear-gradient(135deg, #1e3a5f, #2a4f80);
  color: white;
  transform: rotate(10deg);
}

.visa-travel-support .visa-support-content h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e3a5f;
  position: relative;
  padding-bottom: 15px;
}

.visa-travel-support .visa-support-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: #e63946;
  border-radius: 2px;
}

.visa-travel-support .visa-support-content p {
  color: #6c757d;
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 1.7;
}

.visa-travel-support .visa-support-btn {
  display: inline-flex;
  align-items: center;
  color: #1e3a5f;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.visa-travel-support .visa-support-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #e63946;
  transition: all 0.3s ease;
}

.visa-travel-support .visa-support-btn i {
  margin-left: 8px;
  transition: all 0.3s ease;
}

.visa-travel-support .visa-support-btn:hover {
  color: #e63946;
}

.visa-travel-support .visa-support-btn:hover::after {
  width: 100%;
}

.visa-travel-support .visa-support-btn:hover i {
  transform: translateX(5px);
}

