/*
Theme Name: Aspire MBBS
Theme URI: https://aspirembbs.com
Author: Aspire
Author URI: https://aspirembbs.com
Description: Premium Custom Theme for Aspire MBBS Admission Consultancy.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
Text Domain: aspire-mbbs
*/

/* --- CSS Variables (Design System) --- */
:root {
    /* Colors */
    --primary: #0F4C81;
    --primary-hover: #0c3e69;
    --secondary: #00AEEF;
    --accent: #FFB400;
    --accent-hover: #e5a200;
    --success: #22C55E;
    --bg-color: #F8FAFC;
    --surface: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #475569;
    --border-color: #E2E8F0;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Effects */
    --shadow-soft: 0 10px 25px -5px rgba(15, 76, 129, 0.08);
    --shadow-hover: 0 20px 30px -10px rgba(15, 76, 129, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    
    /* Layout */
    --container-width: 1200px;
    --radius: 12px;
    --radius-pill: 50px;
    --transition: all 0.3s ease;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.flex-between {
    display: flex;
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

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

.text-secondary {
    color: var(--secondary);
}

.text-success {
    color: var(--success);
}

.full-width {
    width: 100%;
}

.section-padding {
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 50px;
    max-width: 700px;
    margin-inline: auto;
}

.section-heading h2 {
    font-size: 36px;
}

.section-heading p {
    font-size: 18px;
}

/* --- Utilities --- */
.mobile-only { display: none; }
.desktop-only { display: flex; }

@media (max-width: 768px) {
    .mobile-only { display: flex; }
    .desktop-only { display: none; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 129, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

/* --- Announcement Bar --- */
.announcement-bar {
    background-color: var(--primary);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}

.announcement-bar a {
    color: #fff;
    margin-left: 20px;
    font-weight: 500;
}

.announcement-bar .text-success {
    color: #4ade80;
}

.pulse-text {
    animation: pulse 2s infinite;
    font-weight: 600;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* --- Header --- */
.site-header {
    background-color: var(--surface);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-primary { color: var(--primary); }
.logo-accent { color: var(--secondary); }

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--secondary);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,174,239,0.1) 0%, rgba(248,250,252,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.hero-content h1 {
    font-size: 48px;
    margin: 20px 0;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(15, 76, 129, 0.1);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card .icon {
    font-size: 30px;
    color: var(--success);
}
.stat-card .text {
    display: flex;
    flex-direction: column;
}
.stat-card strong {
    font-size: 20px;
    color: var(--text-main);
}
.stat-card span {
    font-size: 14px;
}

/* --- Trust Indicators --- */
.trust-indicators {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.trust-grid {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px;
    text-align: center;
}

.trust-item h2 {
    color: var(--primary);
    font-size: 36px;
    margin-bottom: 5px;
}

.trust-item p {
    font-weight: 500;
    font-size: 16px;
}

/* --- Grids --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* --- Destination Cards --- */
.destination-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.country-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    color: var(--text-main);
    font-size: 14px;
}

.card-body {
    padding: 25px;
}

.quick-facts {
    margin-bottom: 20px;
}

.quick-facts li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.quick-facts i {
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

/* --- Feature Boxes (Why Choose Us) --- */
.feature-box {
    background: var(--surface);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box .icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 174, 239, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

/* --- Lead Form Section --- */
.lead-capture {
    background-color: var(--primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text h2 {
    color: #fff;
    font-size: 40px;
}

.lead-text p {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 30px;
}

.benefits li {
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent);
}

.secure-text {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #e2e8f0;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--text-main);
    color: #94a3b8;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about p {
    margin: 20px 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--secondary);
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: #94a3b8;
}

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

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
}

/* --- Mobile Sticky Actions --- */
.mobile-sticky-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--surface);
    display: flex;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.btn-call, .btn-whatsapp {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-call {
    background-color: var(--primary);
}

.btn-whatsapp {
    background-color: var(--success);
}

/* --- Blog Section --- */
.blog-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: var(--text-main);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content p {
    font-size: 15px;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    gap: 12px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-grid, .lead-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    body {
        padding-bottom: 60px; /* Space for sticky mobile actions */
    }
    
    .announcement-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--surface);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
    }
    
    .main-nav.show-mobile {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
}
