/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo, .admin-link {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.logo:hover, .admin-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.logo-text {
    font-size: 16px;
    font-weight: 500;
    color:#bdc3c7;
}

.admin-text {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Main Content */
.main-content {
    margin-top: 90px;
    animation: fadeIn 1s ease-out;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
}

/* Left Section */
.left-section {
    animation: slideInLeft 0.8s ease-out;
}

.welcome-text {
    max-width: 500px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.badge i {
    color: #ffd700;
}

.main-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.brand-name {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button.primary:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.cta-button.secondary:hover {
    background: #667eea;
    color: white;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Stats */
.stats {
    display: flex;
    gap: 30px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Right Section */
.right-section {
    animation: slideInRight 0.8s ease-out 0.3s both;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.image-stack {
    position: relative;
    height: 500px;
}

.image-card {
    position: absolute;
    width: 300px;
    height: 200px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.image-card.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 0;
    left: 0;
    animation: slideInRight 1s ease-out 0.5s both;
}

.image-card.secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 50px;
    right: 0;
    animation: slideInRight 1s ease-out 0.7s both;
}

.image-card.tertiary {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: 0;
    left: 50px;
    animation: slideInRight 1s ease-out 0.9s both;
}

.card-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.card-content i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.course-icon i {
    font-size: 1.5rem;
    color: white;
}

.course-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.course-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #888;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.features {
    display: grid;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.image-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-details {
    display: grid;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #667eea;
}

.footer-section p {
    color: white;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

/* Quick Action Buttons */
.quick-actions {
    position: fixed;
    left: 30px;
    bottom: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.quick-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.quick-btn.call {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.quick-btn.whatsapp {
    background: #25D366;
}

.quick-btn i {
    font-size: 20px;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.quick-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .quick-actions {
        right: 20px;
        bottom: 10px;
        gap: 10px;
        
    }
    .quick-btn {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .quick-actions {
        right: 15px;
        bottom: 20px;
        gap: 10px;
    }
    .quick-btn {
        width: 48px;
        height: 48px;
    }
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        gap: 40px;
    }
    
    .main-heading {
        font-size: 3rem;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .contact-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .header .container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .nav-menu {
        justify-content: center;
        gap: 20px;
    }
    
    .logo, .admin-link {
        justify-content: center;
    }
    
    /* Main Content Mobile */
    .main-content {
        margin-top: 120px;
    }
    
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 20px 0;
    }
    
    /* Left Section Mobile */
    .welcome-text {
        max-width: 100%;
    }
    
    .main-heading {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .stats {
        justify-content: center;
        gap: 20px;
    }
    
    /* Right Section Mobile */
    .image-stack {
        height: 400px;
    }
    
    .image-card {
        width: 250px;
        height: 150px;
    }
    
    /* Courses Mobile */
    .courses-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* About Mobile */
    .about-section {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .features {
        gap: 20px;
    }
    
    .feature {
        text-align: left;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 350px;
        height: 250px;
    }
    
    /* Contact Mobile */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile */
    .header {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .admin-text {
        font-size: 12px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .main-content {
        margin-top: 100px;
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .content-wrapper {
        gap: 30px;
        padding: 15px 0;
    }
    
    .main-heading {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        max-width: 250px;
    }
    
    .cta-button i {
        font-size: 0.8rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .image-stack {
        height: 300px;
    }
    
    .image-card {
        width: 200px;
        height: 120px;
    }
    
    .card-content i {
        font-size: 2rem;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
    
    .card-content p {
        font-size: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .copyright {
        font-size: 12px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .logo, .admin-link, .cta-button, .course-btn, .submit-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .cta-button, .course-btn, .submit-btn {
        touch-action: manipulation;
    }
    
    .logo:active, .admin-link:active {
        transform: scale(0.95);
    }
    
    .cta-button:active, .course-btn:active, .submit-btn:active {
        transform: translateY(0);
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 30px 0;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    .image-stack {
        height: 250px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon, .course-icon, .feature i, .contact-item i, .social-links a {
        border: 0.5px solid rgba(0,0,0,0.1);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 