/* ======================================================
   Sree Kalpadhatri — Custom Enhancements CSS
   Sticky social icons, animations, hover effects, polish
   ====================================================== */

/* ---- Google Font Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    --sk-primary: #c8965a;
    --sk-primary-dark: #a87842;
    --sk-gold: #d4a76a;
    --sk-dark: #1a1a2e;
    --sk-darker: #0f0f1e;
    --sk-light: #f8f6f2;
    --sk-accent: #e8d5b7;
    --sk-whatsapp: #25d366;
    --sk-instagram: #e4405f;
    --sk-youtube: #ff0000;
    --sk-facebook: #1877f2;
    --sk-telegram: #0088cc;
    --sk-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --sk-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.18);
    --sk-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --sk-radius: 12px;
}

/* ============================================
   1. STICKY SOCIAL SIDEBAR
   ============================================ */
.sticky-social-sidebar {
    position: fixed;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: right 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticky-social-sidebar.visible {
    right: 0;
}

.social-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: var(--sk-transition);
    position: relative;
    overflow: visible;
}

.social-icon-item:first-child {
    border-radius: 8px 0 0 0;
}

.social-icon-item:last-child {
    border-radius: 0 0 0 8px;
}

.social-icon-item.whatsapp {
    background: var(--sk-whatsapp);
}

.social-icon-item.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon-item.youtube {
    background: var(--sk-youtube);
}

.social-icon-item.facebook {
    background: var(--sk-facebook);
}

.social-icon-item.telegram {
    background: var(--sk-telegram);
}

.social-icon-item:hover {
    width: 56px;
    transform: translateX(-8px);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.social-tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--sk-dark);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    margin-right: 8px;
}

.social-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--sk-dark);
}

.social-icon-item:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobile: smaller icons */
@media (max-width: 768px) {
    .social-icon-item {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .social-icon-item:hover {
        width: 46px;
        transform: translateX(-6px);
    }
}

@media (max-width: 480px) {
    .sticky-social-sidebar {
        display: none;
    }
}

/* ============================================
   2. FOOTER SOCIAL ICONS
   ============================================ */
.footer-social-connect {
    text-align: right;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: var(--sk-transition);
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.4s ease;
}

.footer-social-link:hover::before {
    transform: scale(1);
}

.footer-social-link.whatsapp {
    background: var(--sk-whatsapp);
}

.footer-social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social-link.youtube {
    background: var(--sk-youtube);
}

.footer-social-link.facebook {
    background: var(--sk-facebook);
}

.footer-social-link.telegram {
    background: var(--sk-telegram);
}

.footer-social-link:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
}

@media (max-width: 767px) {
    .footer-social-connect {
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

/* ============================================
   3. FOOTER OFFICE LOCATIONS
   ============================================ */
.footer-office-locations {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-office-item h6 {
    color: var(--sk-gold);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-office-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   4. CARD HOVER EFFECTS
   ============================================ */
.featured-item.style-three {
    transition: var(--sk-transition);
    border-radius: var(--sk-radius);
    overflow: hidden;
}

.featured-item.style-three:hover {
    transform: translateY(-8px);
    box-shadow: var(--sk-shadow-hover);
}

.featured-item .thumb-wrapper .thumb img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-item .thumb-wrapper:hover .thumb img {
    transform: scale(1.08);
}

/* ============================================
   5. CORE FEATURE CARDS ENHANCEMENT
   ============================================ */
.core-feature-item.style-one {
    transition: var(--sk-transition);
    border-radius: var(--sk-radius);
    position: relative;
    overflow: hidden;
}

.core-feature-item.style-one::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sk-primary), var(--sk-gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.core-feature-item.style-one:hover::before {
    transform: scaleX(1);
}

.core-feature-item.style-one:hover {
    transform: translateY(-6px);
    box-shadow: var(--sk-shadow);
}

/* ============================================
   6. BUTTON ENHANCEMENTS
   ============================================ */
.bd-btn {
    position: relative;
    overflow: hidden;
    transition: var(--sk-transition);
}

.bd-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 150, 90, 0.3);
}

.bd-half-outline-btn {
    transition: var(--sk-transition);
}

.bd-half-outline-btn:hover {
    transform: translateY(-2px);
}

/* ============================================
   7. BREADCRUMB ENHANCEMENT
   ============================================ */
.bd-breadcrumb-area {
    position: relative;
}

.bd-breadcrumb-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(200, 150, 90, 0.3) 100%);
    z-index: 1;
}

.bd-breadcrumb-wrapper {
    position: relative;
    z-index: 2;
}

.bd-breadcrumb-title {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   8. SECTION TRANSITIONS
   ============================================ */
.section-title {
    position: relative;
}

.section-subtitle {
    letter-spacing: 2px;
}

/* ============================================
   9. SMOOTH SCROLL
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   10. ACCESSIBILITY IMPROVEMENTS
   ============================================ */
:focus-visible {
    outline: 3px solid var(--sk-primary);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sk-primary);
    color: #fff;
    padding: 12px 24px;
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   11. GALLERY PAGE STYLES
   ============================================ */
.gallery-filter-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 28px;
    border: 2px solid #e0e0e0;
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--sk-transition);
    color: #333;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--sk-primary);
    border-color: var(--sk-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 150, 90, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--sk-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content h5 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 4px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay-content h5 {
    transform: translateY(0);
}

.gallery-overlay-content span {
    color: var(--sk-gold);
    font-size: 14px;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.05s;
    display: block;
}

.gallery-item:hover .gallery-overlay-content span {
    transform: translateY(0);
}

.gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background: var(--sk-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   12. BLOG PAGE STYLES
   ============================================ */
.blog-card {
    background: #fff;
    border-radius: var(--sk-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--sk-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sk-shadow-hover);
}

.blog-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.08);
}

.blog-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--sk-primary);
    color: #fff;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.blog-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.blog-card-meta span {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-meta i {
    color: var(--sk-primary);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--sk-dark);
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--sk-primary);
}

.blog-card-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.blog-card-link {
    color: var(--sk-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--sk-transition);
    font-size: 15px;
}

.blog-card-link i {
    transition: transform 0.3s ease;
}

.blog-card-link:hover {
    color: var(--sk-primary-dark);
    gap: 12px;
}

.blog-card-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   13. RESPONSIVE REFINEMENTS
   ============================================ */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-body {
        padding: 20px;
    }
}

/* ============================================
   14. PRELOADER ENHANCEMENT
   ============================================ */
.preloader {
    background: linear-gradient(135deg, var(--sk-dark) 0%, var(--sk-darker) 100%);
}

/* ============================================
   15. HEADER ENHANCEMENT
   ============================================ */
.header-sticky {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ============================================
   16. BILINGUAL SUPPORT (EN/TE)
   ============================================ */
.lang-toggle-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px;
    margin-right: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bd-sticky .lang-toggle-wrapper {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.lang-toggle-btn {
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bd-white);
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.bd-sticky .lang-toggle-btn {
    color: var(--bd-black);
}

.lang-toggle-btn:hover {
    color: var(--sk-primary);
}

.lang-toggle-btn.active {
    background: var(--sk-primary);
    color: var(--bd-white) !important;
    pointer-events: none;
}

/* Telugu Typography Fixes */
@import url('https://fonts.googleapis.com/css2?family=Mandali&family=Noto+Sans+Telugu:wght@400;500;600;700&family=Ramabhadra&display=swap');

body.lang-te,
body.lang-te p,
body.lang-te a,
body.lang-te span,
body.lang-te li {
    font-family: 'Noto Sans Telugu', sans-serif !important;
    line-height: 1.6;
}

body.lang-te h1,
body.lang-te h2,
body.lang-te h3,
body.lang-te h4,
body.lang-te h5,
body.lang-te h6,
body.lang-te .title-font,
body.lang-te .section-title {
    font-family: 'Ramabhadra', 'Noto Sans Telugu', sans-serif !important;
    line-height: 1.5;
}

body.lang-te .banner-title {
    line-height: 1.4 !important;
}

/* ============================================
   17. WHY CHOOSE US - 14 POINTS GRID
   ============================================ */
.why-choose-features-row {
    margin-top: 25px;
}

.why-choose-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-choose-features-list li {
    font-size: 15px;
    font-weight: 500;
    color: var(--bd-black);
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.why-choose-features-list li i {
    color: #c8965a; /* Matching --sk-primary */
    font-size: 18px;
    margin-right: 12px;
    margin-top: 3px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.why-choose-features-list li:hover i {
    transform: scale(1.2);
}

/* ============================================
   COMPLETED VENTURES TABLES
   ============================================ */
.completed-ventures-area {
    background: var(--sk-light);
}

.venture-table-block {
    background: #fff;
    border-radius: var(--sk-radius);
    box-shadow: var(--sk-shadow);
    overflow: hidden;
    margin-bottom: 40px;
    transition: var(--sk-transition);
}

.venture-table-block:hover {
    box-shadow: var(--sk-shadow-hover);
    transform: translateY(-4px);
}

.venture-table-block:last-child {
    margin-bottom: 0;
}

.venture-table-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--sk-dark) 0%, #2a2a4a 100%);
    color: #fff;
}

.venture-table-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(200, 150, 90, 0.2);
    border: 2px solid var(--sk-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.venture-table-icon i {
    font-size: 22px;
    color: var(--sk-gold);
}

.venture-table-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 0 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.venture-table-count {
    font-size: 14px;
    color: var(--sk-gold);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.venture-table-wrapper {
    overflow-x: auto;
}

.venture-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
}

.venture-table thead tr {
    background: linear-gradient(135deg, var(--sk-primary) 0%, var(--sk-gold) 100%);
}

.venture-table thead th {
    padding: 14px 24px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    white-space: nowrap;
}

.venture-table tbody tr {
    transition: background 0.3s ease;
    border-bottom: 1px solid #f0ebe3;
}

.venture-table tbody tr:nth-child(even) {
    background: #faf8f5;
}

.venture-table tbody tr:hover {
    background: rgba(200, 150, 90, 0.08);
}

.venture-table tbody td {
    padding: 14px 24px;
    font-size: 15px;
    color: #333;
    font-weight: 400;
    vertical-align: middle;
}

.venture-table tbody td:first-child {
    font-weight: 600;
    color: var(--sk-primary);
    text-align: center;
    width: 70px;
}

.venture-table tbody td:nth-child(2) {
    font-weight: 600;
    color: var(--sk-dark);
    width: 100px;
}

.venture-table tbody td:nth-child(3) {
    font-weight: 500;
    color: #1a1a2e;
}

.venture-table tbody td:nth-child(4) {
    color: #555;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .venture-table-header {
        padding: 20px 20px;
        gap: 14px;
    }

    .venture-table-title {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    .venture-table-icon {
        width: 44px;
        height: 44px;
    }

    .venture-table-icon i {
        font-size: 18px;
    }

    .venture-table thead th,
    .venture-table tbody td {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* ============================================
   TOAST NOTIFICATION ALERTS
   ============================================ */
.sk-toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    width: calc(100% - 60px);
}

.sk-toast {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease;
    opacity: 0;
}

.sk-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.sk-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sk-toast-success {
    border-left: 5px solid #2ecc71;
}

.sk-toast-success .sk-toast-icon {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.sk-toast-error {
    border-left: 5px solid #e74c3c;
}

.sk-toast-error .sk-toast-icon {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.sk-toast-content {
    flex-grow: 1;
}

.sk-toast-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 3px 0;
    font-family: 'Inter', sans-serif;
}

.sk-toast-message {
    font-size: 13px;
    color: #555;
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.sk-toast-close {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 0 0 0 5px;
    transition: color 0.2s ease;
}

.sk-toast-close:hover {
    color: #333;
}

@media (max-width: 576px) {
    .sk-toast-container {
        top: 20px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
}
