/*
Theme Name: Tuition Center Pro
Theme URI: https://github.com
Author: Your Name
Author URI: https://adinapervaiz.weebly.com
Description: A professional education/tuition center theme with full Elementor support
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tuition-center-pro
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, #d4af37 0%, #c9a959 100%);
    padding: 0.5rem 0;
    border-bottom: 3px solid #8b7355;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.top-bar-btn {
    background: #8b9a3e;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.top-bar-btn:hover {
    background: #7a8a35;
    border-color: #5a6a25;
}

/* Header */
header {
    background: #faf9f5;
    border-bottom: 3px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-placeholder {
    border: 3px solid #333;
    padding: 1rem 1.5rem;
    text-align: center;
    background: #fff;
}

.logo-placeholder strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.logo-placeholder small {
    font-size: 0.8rem;
    color: #666;
}

/* Custom Logo Support */
.custom-logo {
    max-height: 80px;
    width: auto;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #8b9a3e;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8b9a3e;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.enquire-btn {
    background: #8b9a3e;
    color: #fff !important;
    padding: 0.7rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
}

.enquire-btn:hover {
    background: #7a8a35;
}

.enquire-btn::after {
    display: none;
}

/* Main Content */
main {
    padding: 0;
    min-height: 60vh;
}

/* Elementor Full Width */
.elementor-page main {
    padding: 0;
}

.elementor-page .container {
    max-width: 100%;
    padding: 0;
}

/* Hero Section Styling (for non-Elementor pages) */
.hero-section {
    background: linear-gradient(135deg, #8b9a3e 0%, #9aaa4e 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 30px;
    margin: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.hero-section h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #333;
    margin: 0.5rem 0;
}

/* Section Styling */
.content-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    border-bottom: 3px solid #8b9a3e;
    padding-bottom: 1rem;
}

/* Posts & Pages */
.post, .page-content {
    background: #fff;
    padding: 3rem;
    margin: 2rem auto;
    max-width: 1100px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-top: 5px solid #d4af37;
}

.post-title, .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.post-meta {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.post-content, .page-content-text {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Keywords Section */
.keywords-section {
    padding: 3rem 0;
}

.keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.keyword-card {
    background: linear-gradient(135deg, #8b9a3e 0%, #9aaa4e 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.keyword-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-decoration: underline;
}

.keyword-list {
    list-style: none;
    padding: 0;
}

.keyword-list li {
    padding: 0.4rem 0;
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #e8e8e3;
    color: #333;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 3px solid #8b9a3e;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 200px repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-logo {
    border: 2px solid #d4af37;
    padding: 2rem 1rem;
    text-align: center;
    background: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #8b9a3e;
}

.footer-contact-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.5rem;
}

.footer-contact-icons a {
    color: #333;
    transition: color 0.3s;
}

.footer-contact-icons a:hover {
    color: #8b9a3e;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.footer-social a {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    color: #fff;
    transition: transform 0.3s;
}

.footer-social a:hover {
    transform: translateY(-3px);
}

.footer-social .facebook { background: #1877f2; }
.footer-social .instagram { background: #e4405f; }
.footer-social .youtube { background: #ff0000; }
.footer-social .twitter { background: #1da1f2; }

.footer-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.footer-whatsapp:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #d4af37;
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-weight: 600;
}

.footer-links {
    color: #8b9a3e;
    text-decoration: none;
}

.footer-links:hover {
    text-decoration: underline;
}

/* Elementor Compatibility */
.elementor-template-full-width header.site-header {
    display: none;
}

.elementor-template-full-width footer {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .site-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .post, .page-content {
        padding: 1.5rem;
    }
}