/*
Theme Name: RyZen Computers Professional
Theme URI: 
Author: RyZen Team
Description: Professional Computer Education Centre Theme
Version: 3.0
*/

:root {
    --primary: #003366;
    --primary-dark: #002244;
    --secondary: #00a8cc;
    --accent: #ff9900;
    --light: #f4f7fc;
    --dark: #1a2a3a;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --shadow: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* Header */
.site-header {
    background: var(--white);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo h1 a {
    text-decoration: none;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.tagline {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 5px;
}

.header-contact {
    text-align: right;
}

.header-contact .phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.header-contact .email {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Navigation */
.main-nav {
    background: var(--primary);
    padding: 0 40px;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 14px 24px;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 40px;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: #0088aa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,168,204,0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary);
}

.btn-accent:hover {
    background: #e68a00;
    transform: translateY(-2px);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title h2 span {
    color: var(--secondary);
}

.section-title .title-line {
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 0 auto;
}

/* Teachers Grid */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.teacher-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.teacher-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.teacher-card h3 {
    color: var(--primary);
    margin: 20px 0 5px;
    font-size: 1.4rem;
}

.teacher-card .designation {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 10px;
}

.teacher-card p {
    padding: 0 20px 25px;
    color: var(--gray);
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.course-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.course-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.course-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.course-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.course-badge {
    display: inline-block;
    background: var(--light-gray);
    color: var(--gray);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.feature {
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.feature p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Form Styling */
.form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,168,204,0.1);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-whatsapp,
.floating-call {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: 0.3s;
    border: none;
    cursor: pointer;
    background: #25D366;
}

.floating-call {
    background: #34B7F1;
}

.floating-whatsapp:hover,
.floating-call:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .header-contact {
        text-align: center;
    }
    
    .main-nav {
        padding: 0;
        gap: 0;
    }
    
    .main-nav a {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .form-card {
        padding: 25px;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .features-grid {
        padding: 25px;
    }
}