:root {
    --primary-color: #0f2027; /* Deep Navy */
    --secondary-color: #203a43;
    --accent-color: #fca311; /* Vibrant Gold/Orange */
    --accent-hover: #e5940e;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-color: #f8f9fa;
    --bg-card: rgba(255, 255, 255, 0.85);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 30px rgba(0,0,0,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    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(--primary-color);
    line-height: 1.2;
    padding-bottom: 8px;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.section-padding { padding: 80px 0; }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

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

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

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

.main-nav a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.has-dropdown {
    position: relative;
}

.main-nav ul.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    border: 1px solid #eee;
    margin: 0;
}

.has-dropdown:hover .main-nav ul.dropdown,
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.main-nav ul.dropdown li {
    margin: 0;
    padding: 0;
    width: 100%;
}

.dropdown li a {
    padding: 10px 20px;
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
    text-align: left;
    white-space: nowrap;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown li a:hover {
    background: var(--bg-color);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    padding-left: 24px;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(252,163,17,0.15) 0%, rgba(0,0,0,0) 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
}

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

/* Global Hero / Form Area */
.global-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0 120px 0; /* Extra padding at bottom for overlap */
    color: #fff;
    margin-bottom: 0;
}
.global-hero-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.global-hero-text {
    flex: 1;
    min-width: 300px;
}
.global-hero-text h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.global-hero-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}
.global-hero-form {
    flex: 0 0 400px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    color: var(--text-main);
}
@media (max-width: 768px) {
    .global-hero-form {
        flex: 100%;
    }
}
.global-hero-form h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}
.global-hero-form input, .global-hero-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
}
.global-hero-form input:focus, .global-hero-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--accent-color);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.course-card:hover::before {
    transform: scaleX(1);
}

.course-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.course-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.course-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.course-link {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-link i {
    transition: transform 0.3s;
}

.course-card:hover .course-link i {
    transform: translateX(5px);
}

/* Testimonials */
.bg-light {
    background-color: #f1f3f5;
}

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

.testimonial-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(252, 163, 17, 0.3);
}

.testimonial-card .comment {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.student-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.student-info span {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Internal Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 80px 0;
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
}

.course-page-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Glass Card Content */
.glass-card {
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: var(--shadow-md);
}

/* Featured Image & SEO Typography */
.page-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.page-content-wrap {
    flex: 1;
    min-width: 300px;
}

.page-image-wrap {
    flex: 0 0 450px;
}

.page-image-wrap img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    object-fit: cover;
}

.page-image-wrap img:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.page-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.page-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.page-content h3 {
    font-size: 1.6rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-content h4 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.page-content b {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 992px) {
    .page-image-wrap {
        flex: 100%;
        order: -1;
        margin-bottom: 20px;
    }
}

/* CTA */
.cta-section {
    background: var(--primary-color);
    color: #fff;
}

.cta-section h2 {
    color: #fff;
    font-weight: 300;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #999;
    padding: 80px 0 20px;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-col a {
    color: #999;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.contact-info i {
    color: var(--accent-color);
    width: 20px;
    margin-right: 10px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        position: relative;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
        border-top: 1px solid #eee;
        z-index: 99;
    }

    .main-nav.active {
        display: block !important;
    }

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

    .main-nav a {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    .main-nav ul.dropdown {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 15px;
        background: #f9f9f9;
        margin-top: 10px;
        width: 100%;
    }

    .has-dropdown.active .dropdown {
        display: flex;
    }

    .main-nav a.btn {
        text-align: center;
        padding: 12px;
        margin-top: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .glass-card {
        padding: 30px 20px;
    }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Inner Page Custom Styles */
.inner-page-card {
    padding: 50px;
}
.inner-page-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 15px;
    display: inline-block;
}
.inner-page-image {
    float: right;
    width: 450px;
    max-width: 100%;
    margin: 0 0 30px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .inner-page-card {
        padding: 30px 20px;
    }
    .inner-page-title {
        font-size: 1.8rem;
    }
    .inner-page-image {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
        display: block;
    }
    
    /* Global fixes for mobile */
    .container {
        padding: 0 15px;
    }
    .glass-card {
        padding: 25px 15px !important;
    }
    .inner-page-card {
        padding: 25px 15px !important;
    }
}

.hero-main-title {
    font-size: 3rem;
    font-weight: 700;
}
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2rem !important;
    }
}

/* =============================================
   INNER PAGE - PROFESSIONAL REDESIGN
   ============================================= */

/* --- Page Hero Banner --- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 60%, #2c5364 100%);
    padding: 100px 0 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}
.page-hero .container {
    position: relative;
    z-index: 1;
}
.page-hero__breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 20px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.page-hero__breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}
.page-hero__breadcrumb a:hover { color: var(--accent-color); }
.page-hero__breadcrumb i { font-size: 0.65rem; opacity: 0.5; }
.page-hero__breadcrumb span { color: var(--accent-color); }
.page-hero__title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 700px;
    color: #fff;
}
.page-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-top: 15px;
    max-width: 600px;
    line-height: 1.7;
}
.page-hero__meta {
    display: flex;
    gap: 25px;
    margin-top: 18px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}
.page-hero__meta i { margin-right: 6px; color: var(--accent-color); }

/* --- Content + Sidebar Layout --- */
.ip-content-section { background: #fff; }
.ip-content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}
.ip-main { min-width: 0; }
.ip-featured-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: var(--shadow-md);
}
.ip-featured-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}
.ip-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444;
}
.ip-body h2 {
    font-size: 1.7rem;
    margin: 35px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}
.ip-body h3 {
    font-size: 1.35rem;
    margin: 25px 0 12px;
    color: var(--secondary-color);
}
.ip-body p { margin-bottom: 18px; }
.ip-body ul, .ip-body ol {
    margin: 15px 0 20px 25px;
    list-style: disc;
}
.ip-body li { margin-bottom: 8px; }
.ip-body img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

/* --- Sidebar --- */
.ip-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}
.ip-sidebar-card {
    background: var(--bg-color);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #e8ecf1;
}
.ip-sidebar-card h4 {
    font-size: 1.1rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ip-sidebar-card h4 i {
    color: var(--accent-color);
    font-size: 1rem;
}
.ip-sidebar-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.ip-sidebar-card .text-sm { font-size: 0.85rem; margin-top: 4px; }
.ip-sidebar-card--cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    border: none;
}
.ip-sidebar-card--cta i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.ip-sidebar-card--cta h4 {
    color: #fff;
    justify-content: center;
    font-size: 1.2rem;
}
.ip-sidebar-card--cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 18px;
}
.ip-sidebar-list {
    padding: 0;
}
.ip-sidebar-list li {
    padding: 9px 0;
    font-size: 0.92rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e8ecf1;
}
.ip-sidebar-list li:last-child { border-bottom: none; }
.ip-sidebar-list li i { color: #22c55e; font-size: 0.8rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* --- Feature Boxes Section --- */
.ip-features-section {
    padding: 80px 0;
    background: var(--bg-color);
}
.ip-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.ip-feature-box {
    background: #fff;
    border-radius: 16px;
    padding: 35px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8ecf1;
    transition: var(--transition);
}
.ip-feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}
.ip-feature-box__icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--accent-color);
}
.ip-feature-box h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.ip-feature-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Utility Classes for Builder Backgrounds --- */
.bg-transparent { background-color: transparent !important; }
.bg-slate-50 { background-color: #f8fafc !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.bg-slate-800 { background-color: #1e293b !important; color: #fff !important; }
.bg-slate-800 h1, .bg-slate-800 h2, .bg-slate-800 h3, .bg-slate-800 p { color: #fff !important; }
.bg-indigo-600 { background-color: #4f46e5 !important; color: #fff !important; }
.bg-indigo-600 h1, .bg-indigo-600 h2, .bg-indigo-600 h3, .bg-indigo-600 p { color: #fff !important; }
.text-white { color: #fff !important; }

/* --- CTA Section --- */
.ip-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 60%, #2c5364 100%);
    color: #fff;
}
.ip-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.ip-cta-text h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 12px;
}
.ip-cta-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 550px;
}
.ip-cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}
.ip-cta-actions .btn-outline {
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    background: transparent;
}
.ip-cta-actions .btn-outline:hover {
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.1);
}

/* --- Contact Page --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8ecf1;
    transition: var(--transition);
}
.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.contact-info-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.3rem;
    color: var(--accent-color);
}
.contact-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.contact-info-card p { font-size: 0.92rem; color: var(--text-muted); }
.contact-info-card a { color: var(--text-main); }
.contact-info-card a:hover { color: var(--accent-color); }

.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.contact-form-section__left h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.contact-form-section__left > p {
    color: var(--text-muted);
    margin-bottom: 25px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #dde2e8;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 16px;
    transition: border-color 0.2s;
    background: #fafbfc;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(252,163,17,0.1);
}
.alert-success-box {
    background: #d1fae5;
    color: #065f46;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.92rem;
}
.alert-success-box i { margin-right: 8px; }

.contact-sidebar-card {
    background: var(--bg-color);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
    border: 1px solid #e8ecf1;
}
.contact-sidebar-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 12px;
}
.contact-sidebar-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}
.contact-sidebar-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.page-extra-content {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e8ecf1;
}

/* --- Blog Share --- */
.blog-share {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #e8ecf1;
    display: flex;
    align-items: center;
    gap: 14px;
}
.blog-share span {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: transform 0.2s;
}
.share-btn:hover { transform: scale(1.15); color: #fff; }
.share-btn--twitter { background: #1da1f2; }
.share-btn--facebook { background: #1877f2; }
.share-btn--whatsapp { background: #25d366; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .ip-content-layout { grid-template-columns: 1fr; }
    .ip-sidebar { position: static; }
    .ip-features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form-section { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .page-hero { padding: 80px 0 40px; }
    .page-hero__title { font-size: 1.8rem; }
    .ip-features-grid { grid-template-columns: 1fr; }
    .ip-cta-inner { flex-direction: column; text-align: center; }
    .ip-cta-text h2 { font-size: 1.6rem; }
    .ip-cta-actions { flex-direction: column; width: 100%; }
    .ip-cta-actions .btn { width: 100%; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .ip-featured-image img { height: 220px; }
}

.builder-text-block p, .page-content p {
    margin-bottom: 1.5rem;
}
.builder-text-block p:last-child, .page-content p:last-child {
    margin-bottom: 0;
}

.custom-cta {
    background: var(--primary-color);
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(15,32,39,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.custom-cta-content {
    flex: 1;
}
.custom-cta h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 10px;
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 0;
}
.custom-cta p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}
.custom-cta-action {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .custom-cta {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Two Column Block Responsive Styles */
.twocol-block {
    --gap-calc: 15px;
}

.twocol-img-col {
    flex: 0 0 calc(var(--img-w-desktop, 50%) - var(--gap-calc));
    max-width: calc(var(--img-w-desktop, 50%) - var(--gap-calc));
}

.twocol-text-col {
    flex: 0 0 calc(var(--text-w-desktop, 50%) - var(--gap-calc));
    max-width: calc(var(--text-w-desktop, 50%) - var(--gap-calc));
}

@media (max-width: 991px) {
    .twocol-block {
        justify-content: center;
    }
    .twocol-img-col {
        flex: 0 0 calc(var(--img-w-mobile, 100%) - var(--gap-calc));
        max-width: calc(var(--img-w-mobile, 100%) - var(--gap-calc));
    }
    .twocol-text-col {
        flex: 0 0 calc(var(--text-w-mobile, 100%) - var(--gap-calc));
        max-width: calc(var(--text-w-mobile, 100%) - var(--gap-calc));
    }
    
    /* If mobile is set to 100%, we want to remove the 15px gap math for max-width to let it take full width properly */
    .twocol-block[style*="--img-w-mobile: 100"] .twocol-img-col,
    .twocol-block[style*="--img-w-mobile: 100%"] .twocol-img-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .twocol-block[style*="--text-w-mobile: 100"] .twocol-text-col,
    .twocol-block[style*="--text-w-mobile: 100%"] .twocol-text-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}