/* ============================================
   R S Educational Institutions - Main Stylesheet
   Blue & White Professional Theme
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Scheme - Blue & White */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1e40af;
    --primary-blue-light: #3b82f6;
    --secondary-blue: #1e3a8a;
    --accent-blue: #60a5fa;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #1e293b;
    --text-dark: #0f172a;
    --text-light: #475569;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --section-padding-mobile: 60px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Prevent header flicker on page load */
.navbar {
    opacity: 1;
    visibility: visible;
}

.nav-container {
    opacity: 1;
}

.logo {
    opacity: 1;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation Bar
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.2s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    will-change: transform;
    transform: translateZ(0);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.logo-icon svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    shape-rendering: geometricPrecision;
    text-rendering: geometricPrecision;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    will-change: transform;
    transform: translateZ(0);
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
    transition: opacity 0.2s ease;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    will-change: background-color, color, transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.nav-link:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.nav-link.active {
    background: linear-gradient(135deg, #6A5ACD 0%, #9370DB 50%, #FF69B4 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 90, 205, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(106, 90, 205, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 105, 180, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    animation: gradientShift 12s ease-in-out infinite;
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Floating animated shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #6A5ACD, #9370DB);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #FF69B4, #FF7FB3);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.hero-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.hero-shape:nth-child(4) {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #9370DB, #FF69B4);
    top: 30%;
    right: 25%;
    animation-delay: 1s;
    animation-duration: 22s;
}

/* Animated wave pattern */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 0;
}

.hero-wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(106, 90, 205, 0.03) 25%, 
        rgba(255, 105, 180, 0.03) 50%, 
        rgba(59, 130, 246, 0.03) 75%, 
        transparent 100%);
    animation: wave 15s linear infinite;
}

.hero-wave:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.7;
}

.hero-wave:nth-child(2) {
    animation-delay: 5s;
    opacity: 0.5;
    animation-duration: 18s;
}

.hero-wave:nth-child(3) {
    animation-delay: 10s;
    opacity: 0.3;
    animation-duration: 20s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-primary {
    color: var(--primary-blue-dark);
    display: block;
}

.title-accent {
    color: var(--primary-blue);
    display: block;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   About Section
   ============================================ */

.about-section {
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.content-placeholder {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.content-placeholder p {
    margin-bottom: 20px;
}

/* ============================================
   Courses Overview Section
   ============================================ */

.courses-overview-section {
    background-color: var(--light-gray);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.course-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.course-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 10px;
}

.course-full-name {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

.course-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 25px;
    min-height: 60px;
}

/* ============================================
   Why Choose Us Section
   ============================================ */

.why-choose-section {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    background-color: var(--light-gray);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background-color: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #6A5ACD 0%, #9370DB 50%, #FF69B4 100%);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn-primary::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: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(106, 90, 205, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #7B68EE 0%, #9B7EDB 50%, #FF7FB3 100%);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.back-to-top {
    display: block;
    margin: 40px auto 0;
    text-align: center;
}

/* ============================================
   Page Header
   ============================================ */

.page-header {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ============================================
   Course Detail Section
   ============================================ */

.course-detail-section {
    background-color: var(--white);
}

.course-detail-section:nth-child(even) {
    background-color: var(--light-gray);
}

.course-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.course-header-icon {
    font-size: 4rem;
}

.course-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 10px;
}

.course-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Course Tabs */
.course-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.tab-button {
    padding: 12px 24px;
    border: none;
    background-color: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-primary);
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.tab-button.active {
    background: linear-gradient(135deg, #6A5ACD 0%, #9370DB 50%, #FF69B4 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #6A5ACD 0%, #9370DB 50%, #FF69B4 100%);
}

.tab-content-wrapper {
    position: relative;
    min-height: 300px;
}

.tab-content {
    display: none;
    animation: fadeInUp 0.4s ease-out;
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 20px;
}

.tab-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.tab-content ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.tab-content ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
}

.tab-content ul li:last-child {
    border-bottom: none;
}

.tab-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.tab-content strong {
    color: var(--primary-blue-dark);
    font-weight: 600;
}

/* ============================================
   Employment Page
   ============================================ */

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.sector-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

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

.sector-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.sector-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.sector-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.career-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.role-card {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
}

.role-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue-dark);
    margin-bottom: 20px;
}

.role-list {
    list-style: none;
}

.role-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    font-size: 0.95rem;
}

.role-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.placement-section {
    background-color: var(--light-gray);
}

.placement-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.placement-feature {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.placement-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.placement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.placement-feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.placement-feature p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-section {
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form-container,
.contact-info-container,
.contact-phone-container {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.contact-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 40px;
}

.phone-numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.phone-number-card {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.phone-number-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.phone-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.phone-number-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 25px;
}

.phone-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-call,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
}

.btn-call {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.btn-icon {
    font-size: 1.1rem;
}

/* Footer Phone Buttons */
.footer-phone-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-phone-item:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.footer-phone-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-phone-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-btn-call,
.footer-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-btn-call {
    background-color: rgba(37, 99, 235, 0.2);
    color: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.footer-btn-call:hover {
    background-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.footer-btn-whatsapp {
    background-color: rgba(37, 211, 102, 0.2);
    color: var(--white);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.footer-btn-whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.contact-info {
    margin-top: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.info-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 5px;
    line-height: 1.6;
}

.map-container {
    margin-top: 60px;
}

.map-placeholder {
    background-color: var(--light-gray);
    border-radius: 12px;
    padding: 60px;
    text-align: center;
    color: var(--text-light);
    box-shadow: var(--shadow);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 10px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================
   Animations
   ============================================ */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 10px) rotate(3deg);
    }
}

@keyframes wave {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 15px 20px;
        width: 100%;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .phone-numbers-grid {
        grid-template-columns: 1fr;
    }

    .phone-number-card {
        padding: 30px 20px;
    }

    .phone-buttons {
        flex-direction: column;
    }

    .btn-call,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    /* Reduce animation complexity on mobile */
    .hero-shape {
        opacity: 0.05;
        animation-duration: 30s;
    }

    .hero::before,
    .hero::after {
        animation-duration: 15s;
    }

    .section {
        padding: var(--section-padding-mobile);
    }

    .section-title {
        font-size: 1.8rem;
    }

    .courses-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .course-header {
        flex-direction: column;
        text-align: center;
    }

    .course-tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    .tab-button.active::after {
        display: none;
    }

    .tab-content {
        padding: 25px 20px;
    }

    .tab-content h3 {
        font-size: 1.5rem;
    }

    .sectors-grid,
    .career-roles-grid,
    .placement-features {
        grid-template-columns: 1fr;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.65rem;
    }

    .logo-icon {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .course-title {
        font-size: 1.6rem;
    }
}

