/*
Theme Name: Samsoom Theme
Theme URI: https://samsoomwellness.com
Author: Samsoom Wellness
Author URI: https://samsoomwellness.com
Description: A custom WordPress theme for Samsoom Wellness website
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: samsoom-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ==========================================================================
   Bootstrap Overrides and Custom Styles
   ========================================================================== */

/* Custom Variables */
:root {
    --samsoom-primary: #73614c;
    --samsoom-secondary: #727850;
    --samsoom-dark: #1a1a1a;
    --samsoom-light: #fbeace;
    --samsoom-border: #e9ecef;
    
    /* Bootstrap Variable Overrides */
    --bs-primary: #73614c;
    --bs-primary-rgb: 115, 97, 76;
    --bs-secondary: #727850;
    --bs-secondary-rgb: 114, 120, 80;
    --bs-light: #fbeace;
    --bs-light-rgb: 251, 234, 206;
    --bs-success: #727850;
    --bs-success-rgb: 114, 120, 80;
    
    /* Bootstrap Button Variables */
    --bs-btn-bg: #73614c;
    --bs-btn-border-color: #73614c;
    --bs-btn-hover-bg: #5d4d3a;
    --bs-btn-hover-border-color: #5d4d3a;
    --bs-btn-active-bg: #4a3d2e;
    --bs-btn-active-border-color: #4a3d2e;
    
    /* Bootstrap Form Variables */
    --bs-form-focus-border-color: #73614c;
    --bs-form-focus-box-shadow: 0 0 0 0.25rem rgba(115, 97, 76, 0.25);
}

.site-branding img {
    width: 150px;
    border-radius: 10px;
}

.header-scrolled .site-branding img {
    width: 50px;
    transition: width 0.3s ease;
}

/* Footer Styles */
.footer-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-content .contact-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-content .contact-item a:hover {
    color: #ffffff;
    transition: color 0.3s ease;
}

.social-media .social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-media .social-link:hover {
    color: var(--bs-primary);
    transform: translateY(-2px);
}
/* Bootstrap Component Overrides */
/* Buttons */
.btn-primary {
    background-color: var(--samsoom-primary);
    border-color: var(--samsoom-primary);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #5d4d3a;
    border-color: #5d4d3a;
    box-shadow: 0 0 0 0.25rem rgba(115, 97, 76, 0.25);
}

.btn-primary:active,
.btn-primary.active {
    background-color: #4a3d2e;
    border-color: #4a3d2e;
}

.btn-secondary {
    background-color: var(--samsoom-secondary);
    border-color: var(--samsoom-secondary);
    color: white;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #5e6441;
    border-color: #5e6441;
    box-shadow: 0 0 0 0.25rem rgba(114, 120, 80, 0.25);
}

.btn-outline-primary {
    color: var(--samsoom-primary);
    border-color: var(--samsoom-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--samsoom-primary);
    border-color: var(--samsoom-primary);
    color: white;
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Form Controls */
.form-control:focus {
    border-color: var(--samsoom-primary);
    box-shadow: 0 0 0 0.25rem rgba(115, 97, 76, 0.25);
}

.form-check-input:checked {
    background-color: var(--samsoom-primary);
    border-color: var(--samsoom-primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(115, 97, 76, 0.25);
}

/* Alerts */
.alert-success {
    background-color: rgba(114, 120, 80, 0.1);
    border-color: var(--samsoom-secondary);
    color: #4a5032;
}

.alert-info {
    background-color: var(--samsoom-light);
    border-color: var(--samsoom-primary);
    color: var(--samsoom-dark);
}

/* Links */
.link-primary {
    color: var(--samsoom-primary);
}

.link-primary:hover,
.link-primary:focus {
    color: #5d4d3a;
}

/* Text Colors */
.text-primary {
    color: var(--samsoom-primary) !important;
}

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

.text-success {
    color: var(--samsoom-secondary) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--samsoom-primary) !important;
}

.bg-secondary {
    background-color: var(--samsoom-secondary) !important;
}

.bg-light {
    background-color: var(--samsoom-light) !important;
}

.bg-success {
    background-color: var(--samsoom-secondary) !important;
}

/* Border Colors */
.border-primary {
    border-color: var(--samsoom-primary) !important;
}

.border-secondary {
    border-color: var(--samsoom-secondary) !important;
}

/* Modern Modal Design */
.modal-dialog {
    max-width: 540px;
}

.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.98);
}

.modal-header {
    border-bottom: 1px solid var(--samsoom-light);
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(135deg, var(--samsoom-light) 0%, #ffffff 100%);
    border-radius: 20px 20px 0 0;
}

.modal-title {
    color: var(--samsoom-dark) !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 2rem;
    background: white;
}

.modal-body .text-muted {
    color: #6c757d !important;
    font-size: 1rem;
    line-height: 1.6;
}

.modal .contact-form .form-label {
    font-weight: 600;
    color: var(--samsoom-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.modal .contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.modal .contact-form .form-control:focus {
    border-color: var(--samsoom-primary);
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(115, 97, 76, 0.1);
    transform: translateY(-1px);
}

.modal .contact-form .form-control:valid {
    border-color: #198754;
    background: rgba(25, 135, 84, 0.05);
}

.modal .btn-primary {
    background: linear-gradient(135deg, var(--samsoom-primary), var(--samsoom-secondary));
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(115, 97, 76, 0.25);
}

.modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(115, 97, 76, 0.35);
    background: linear-gradient(135deg, var(--samsoom-secondary), var(--samsoom-primary));
}

.modal .btn-primary:active {
    transform: translateY(0);
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    opacity: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    color: var(--samsoom-dark);
}

.btn-close::before,
.btn-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--samsoom-dark);
    transition: all 0.3s ease;
}

.btn-close::before {
    transform: rotate(45deg);
}

.btn-close::after {
    transform: rotate(-45deg);
}

.btn-close:hover {
    background: rgba(115, 97, 76, 0.1);
}

.btn-close:hover::before {
    transform: rotate(135deg);
}

.btn-close:hover::after {
    transform: rotate(45deg);
}

.btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(115, 97, 76, 0.25);
    outline: none;
}

/* Override Bootstrap's close button image */
.modal .btn-close {
    background-image: none !important;
}

/* Modal form animations */
.modal .form-control {
    animation: slideInUp 0.4s ease-out forwards;
}

.modal .form-control:nth-child(1) { animation-delay: 0.1s; }
.modal .form-control:nth-child(2) { animation-delay: 0.2s; }
.modal .form-control:nth-child(3) { animation-delay: 0.3s; }

/* Modal responsive design */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal .btn-primary {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* Navigation Overrides */
.navbar-light .navbar-brand {
    color: var(--samsoom-dark);
}

.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus {
    color: var(--samsoom-primary);
}

.navbar-light .navbar-toggler {
    border-color: var(--samsoom-primary);
    background-color: transparent;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-light .navbar-toggler:hover {
    background-color: rgba(115, 97, 76, 0.1);
}

.navbar-light .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(115, 97, 76, 0.25);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2873, 97, 76, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

/* Progress Bars */
.progress-bar {
    background-color: var(--samsoom-primary);
}

/* Pagination */
.page-link {
    color: var(--samsoom-primary);
}

.page-link:hover,
.page-link:focus {
    color: #5d4d3a;
    background-color: var(--samsoom-light);
    border-color: var(--samsoom-primary);
}

.page-item.active .page-link {
    background-color: var(--samsoom-primary);
    border-color: var(--samsoom-primary);
}

/* Badges */
.badge.bg-primary {
    background-color: var(--samsoom-primary) !important;
}

.badge.bg-secondary {
    background-color: var(--samsoom-secondary) !important;
}

/* Dropdown Menu */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--samsoom-light);
    color: var(--samsoom-primary);
}

.dropdown-item.active {
    background-color: var(--samsoom-primary);
    color: white;
}

/* Typography Adjustments */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* List Styles - Ensure left alignment */
ul, ol {
    padding-left: 1.5rem;
    margin-left: 0;
}

ul li, ol li {
    text-align: left;
    margin-bottom: 0.5rem;
}

/* Content area lists */
.entry-content ul,
.about-text ul,
.approach-text ul,
.ready-text ul,
.modal-body ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-left: 0;
}

.entry-content ul li,
.about-text ul li,
.approach-text ul li,
.ready-text ul li,
.modal-body ul li {
    text-align: left;
    padding-left: 0.5rem;
}

/* Header Styles */
.site-header {
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

.header-transparent.site-header {
    box-shadow: none;
}

.site-title {
    font-weight: 700;
    color: var(--samsoom-dark);
}

.site-title:hover {
    color: var(--samsoom-primary);
}

.site-description {
    font-size: 0.875rem;
    line-height: 1.2;
}

/* Navigation Enhancements */
.navbar-light .navbar-nav .nav-link {
    color: var(--samsoom-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--samsoom-primary);
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show > .nav-link {
    color: var(--samsoom-primary);
    font-weight: 600;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    border-radius: 0.375rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 400;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--samsoom-light);
    color: var(--samsoom-primary);
}

/* Content Area */
.site-content {
    min-height: 60vh;
}

/* Adjust content area for admin bar on non-homepage */
body.admin-bar:not(.home) .site-content {
    padding-top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar:not(.home) .site-content {
        padding-top: 46px;
    }
}

/* Post Styles */
.entry-title a {
    color: var(--samsoom-dark);
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--samsoom-primary);
}

.entry-meta {
    font-size: 0.875rem;
    color: var(--samsoom-secondary);
}

.entry-meta i {
    font-size: 0.875rem;
}

/* Post Thumbnail */
.post-thumbnail img {
    transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.02);
}

/* Categories and Tags */
.cat-links a,
.tags-links a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: var(--samsoom-light);
    color: var(--samsoom-dark);
    text-decoration: none;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.cat-links a:hover,
.tags-links a:hover {
    background-color: var(--samsoom-primary);
    color: white;
}

/* Sidebar Widgets */
.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--samsoom-light);
    border-radius: 0.375rem;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--samsoom-primary);
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--samsoom-border);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--samsoom-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: var(--samsoom-primary);
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, var(--samsoom-dark) 0%, #2c2c2c 100%);
    color: rgba(255, 255, 255, 0.9);
}

.footer-title {
    color: var(--samsoom-light) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--samsoom-primary);
    border-radius: 2px;
}

.footer-content .contact-item {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-content .contact-item:hover {
    color: var(--samsoom-light) !important;
}

.footer-content .contact-item i {
    color: var(--samsoom-primary);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.footer-content .contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content .contact-item a:hover {
    color: var(--samsoom-light);
}

.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-media .social-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.social-media .social-link:hover {
    color: var(--samsoom-light) !important;
    background: var(--samsoom-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(115, 97, 76, 0.3);
}

.site-footer .widget-title {
    color: var(--samsoom-light);
    border-bottom-color: var(--samsoom-primary);
}

.site-footer .widget {
    background-color: transparent;
    color: rgba(255,255,255,0.8);
    padding: 0;
}

.site-footer .widget a {
    color: rgba(255,255,255,0.8);
}

.site-footer .widget a:hover {
    color: var(--samsoom-light);
}

.footer-navigation .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.footer-navigation .nav-link:hover {
    color: var(--samsoom-light);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

/* Footer Box Spacing */
.footer-content .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-content .row > div {
    flex: 0 0 auto;
    width: auto;
    max-width: 33.333%;
}

/* When no social links, adjust layout */
.footer-content .row > div:only-child {
    margin: 0 auto;
}

.footer-content .row > div:first-child:nth-last-child(2) {
    margin-right: auto;
}

.footer-content .row > div:last-child:nth-child(2) {
    margin-left: auto;
}

/* Three column layout */
.footer-content .row > div:nth-child(1):nth-last-child(3) {
    text-align: left;
}

.footer-content .row > div:nth-child(2):nth-last-child(2) {
    text-align: center;
    margin: 0 auto;
}

.footer-content .row > div:nth-child(3):last-child {
    text-align: right;
    margin-left: auto;
}

/* Footer Responsive Spacing */
@media (max-width: 768px) {
    .footer-content .row {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content .row > div {
        margin-bottom: 2.5rem;
        max-width: 100%;
        width: 100%;
        text-align: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .footer-content .row > div:last-child {
        margin-bottom: 0;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-media {
        justify-content: center;
    }
    
    .footer-content .contact-item {
        justify-content: center;
    }
}

/* Pagination */
.pagination {
    gap: 0.25rem;
}

.page-numbers {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin: 0 0.125rem;
    border: 1px solid var(--samsoom-border);
    color: var(--samsoom-primary);
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: var(--samsoom-primary);
    color: white;
    border-color: var(--samsoom-primary);
}

/* Forms */
.search-form {
    display: flex;
    margin-bottom: 1rem;
}

.search-form .search-field {
    flex: 1;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem 0 0 0.25rem;
    font-size: 1rem;
}

.search-form .search-submit {
    padding: 0.375rem 1rem;
    background-color: var(--samsoom-primary);
    color: white;
    border: 1px solid var(--samsoom-primary);
    border-radius: 0 0.25rem 0.25rem 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form .search-submit:hover {
    background-color: var(--samsoom-secondary);
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--samsoom-light);
    border-radius: 0.375rem;
    border-left: 3px solid var(--samsoom-primary);
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--samsoom-secondary);
    margin-bottom: 1rem;
}

.comment-metadata a {
    color: var(--samsoom-secondary);
    text-decoration: none;
}

.comment-metadata a:hover {
    color: var(--samsoom-primary);
}

.reply a {
    color: var(--samsoom-primary);
    text-decoration: none;
    font-weight: 500;
}

.reply a:hover {
    text-decoration: underline;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress Core Styles */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers */
.says {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
}

.hero-section .hero-subtitle {
    letter-spacing: 2px;
}

.hero-section .hero-title {
    line-height: 1.1;
}

.hero-section .hero-description,
.hero-section .hero-content {
    opacity: 0.95;
}

.hero-section .btn-primary {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(115, 97, 76, 0.3);
}

/* Transparent header for homepage */
.header-transparent {
    background: transparent !important;
}

.header-transparent .navbar {
    background: transparent !important;
    border: none;
}

.header-transparent .navbar-brand .site-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.header-transparent .navbar-brand .site-description {
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.header-transparent .navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
}

.header-transparent .navbar-nav .nav-link:hover,
.header-transparent .navbar-nav .nav-link:focus {
    color: rgba(255,255,255,0.8) !important;
}

.header-transparent .navbar-toggler {
    border-color: var(--samsoom-dark);
    background-color: rgba(255, 255, 255, 0.9);
}

.header-transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 26, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.header-transparent .navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* When header becomes white/scrolled, use dark toggler */
.header-scrolled .navbar-toggler {
    border-color: var(--samsoom-dark) !important;
}

.header-scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 26, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Dropdown menu for transparent header */
.header-transparent .dropdown-menu {
    background: rgba(0,0,0,0.9);
    border: 1px solid rgba(255,255,255,0.2);
}

.header-transparent .dropdown-item {
    color: rgba(255,255,255,0.9);
}

.header-transparent .dropdown-item:hover,
.header-transparent .dropdown-item:focus {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Hero section full screen */
.hero-section {
    height: 100vh;
    min-height: 100vh;
    position: relative;
}

/* When header is transparent, hero starts from top */
body.home .hero-section {
    margin-top: 0;
    padding-top: 0;
}

/* Site container positioning for absolute header */
.site {
    position: relative;
}

/* Header positioning - absolute to site container */
.header-transparent {
    position: absolute;
    top: 0;
}

/* Compact hero text positioning */
.hero-text-compact {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-text-compact .hero-title {
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
}

.hero-text-compact .hero-subtitle {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.hero-text-compact .hero-description,
.hero-text-compact .hero-content {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-text-compact .hero-content p {
    margin-bottom: 0.5rem;
}

.hero-text-compact .btn {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Compact form for hero section */
.hero-section .contact-form-wrapper {
    font-size: 0.85rem;
    padding: 1.5rem !important;
}

.hero-section .contact-form-wrapper .h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.hero-section .contact-form-wrapper p {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.contact-form .form-control {
    border: 2px solid var(--samsoom-border);
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.hero-section .contact-form .form-label {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.hero-section .contact-form .mb-3 {
    margin-bottom: 0.6rem !important;
}

.hero-section .contact-form .mb-4 {
    margin-bottom: 0.8rem !important;
}

.hero-section .contact-form .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.hero-section .contact-form textarea {
    min-height: 80px;
}

.contact-form .form-control:focus {
    border-color: var(--samsoom-primary);
    box-shadow: 0 0 0 0.2rem rgba(115, 97, 76, 0.1);
}

.contact-form .form-control.is-valid {
    border-color: #198754;
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form .btn-primary {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-info .contact-item a {
    color: var(--samsoom-dark);
    font-size: 0.875rem;
}

.contact-info .contact-item a:hover {
    color: var(--samsoom-primary);
}

/* Recent Posts Section */
.recent-posts-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-posts-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.recent-posts-section .card-img-top img {
    transition: transform 0.3s ease;
}

.recent-posts-section .card:hover .card-img-top img {
    transform: scale(1.05);
}

.object-fit-cover {
    object-fit: cover;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .hero-subtitle,
.hero-section .hero-title,
.hero-section .hero-description,
.hero-section .hero-content,
.hero-section .hero-cta,
.contact-form-wrapper {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-section .hero-title {
    animation-delay: 0.1s;
}

.hero-section .hero-description,
.hero-section .hero-content {
    animation-delay: 0.2s;
}

.hero-section .hero-cta {
    animation-delay: 0.3s;
}

.contact-form-wrapper {
    animation-delay: 0.4s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .widget {
        padding: 1rem;
    }
    
    .comment {
        padding: 1rem;
    }
    
    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-text-compact .hero-title {
        font-size: 1.5rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    
    .hero-text-compact .hero-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-text-compact .hero-description,
    .hero-text-compact .hero-content {
        font-size: 0.85rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-text-compact .hero-cta {
        margin-bottom: 0.5rem;
    }
    
    .hero-text-compact .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .hero-mobile-cta {
        margin-top: 0.8rem !important;
    }
    
    /* Mobile text positioning - ensure text is at bottom */
    .hero-section .row {
        align-items: end !important;
    }
    
    .hero-section .col-12 {
        align-self: end !important;
    }
    
    /* Mobile Let's Talk button styling */
    .hero-mobile-cta {
        text-align: center;
    }
    
    .hero-mobile-cta .btn {
        background: var(--samsoom-primary);
        border: 2px solid var(--samsoom-primary);
        color: white;
        width: 100%;
        max-width: 320px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 6px 20px rgba(115, 97, 76, 0.3);
        transition: all 0.3s ease;
    }
    
    .hero-mobile-cta .btn:hover,
    .hero-mobile-cta .btn:focus {
        background: transparent;
        color: var(--samsoom-primary);
        border-color: var(--samsoom-primary);
        box-shadow: 0 8px 25px rgba(115, 97, 76, 0.4);
        transform: translateY(-2px);
    }
    
    .hero-mobile-cta .btn:active {
        background: white !important;
        color: var(--samsoom-primary) !important;
        border-color: var(--samsoom-primary) !important;
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(115, 97, 76, 0.3);
    }
    
    .contact-info .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

/* Tablet responsive adjustments */
@media (max-width: 992px) and (min-width: 769px) {
    .hero-text-compact .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.6rem;
    }
    
    .hero-text-compact .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-text-compact .hero-description,
    .hero-text-compact .hero-content {
        font-size: 0.9rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .hero-text-compact .btn {
        padding: 8px 22px;
        font-size: 0.9rem;
    }
    
    /* Show Let's Talk button on tablet for better UX */
    .hero-mobile-cta {
        display: block !important;
        margin-top: 1rem !important;
    }
    
    .hero-mobile-cta .btn {
        padding: 10px 24px;
        font-size: 1rem;
    }
    
    .hero-mobile-cta .btn:active {
        background: white !important;
        color: var(--samsoom-primary) !important;
    }
    
    /* Hide desktop contact form on tablet to make more room for background */
    .col-lg-6.d-none.d-md-block {
        display: none !important;
    }
    
    /* Make text column full width on tablet */
    .hero-section .col-lg-6.col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-text-compact .hero-title {
        font-size: 1.3rem !important;
        line-height: 1.0;
        margin-bottom: 0.4rem;
    }
    
    .hero-text-compact .hero-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-text-compact .hero-description,
    .hero-text-compact .hero-content {
        font-size: 0.8rem !important;
        line-height: 1.1;
        margin-bottom: 0.6rem;
    }
    
    .hero-text-compact .hero-cta .btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    .hero-mobile-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Even tighter spacing for very small screens */
    .hero-section .container {
        padding-bottom: 1rem !important;
    }
}

/* Services Section Styles */
.services-section {
    position: relative;
}

.services-content h2 {
    color: var(--samsoom-dark);
    position: relative;
}

.services-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--samsoom-primary), var(--samsoom-secondary));
    border-radius: 2px;
}

.services-list {
    padding: 0;
    margin: 0;
}

.service-item {
    transition: all 0.3s ease;
    padding: 0.75rem 0;
    border-radius: 8px;
    margin-bottom: 0.5rem !important;
}

.service-item:hover {
    background: rgba(115, 97, 76, 0.05);
    padding-left: 1rem;
    transform: translateX(5px);
}

.service-icon {
    flex-shrink: 0;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-text {
    font-weight: 500;
    color: var(--samsoom-dark);
    line-height: 1.4;
}

.services-cta .btn {
    background: var(--samsoom-primary);
    border: 2px solid var(--samsoom-primary);
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.services-cta .btn:hover {
    background: transparent;
    color: var(--samsoom-primary);
    border-color: var(--samsoom-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(115, 97, 76, 0.15);
}

.services-cta .btn:focus {
    box-shadow: 0 0 0 3px rgba(115, 97, 76, 0.2);
}

/* Services Slider Styles */
.services-slider-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.services-slider {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.services-slider .slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Make slider wrapper square on mobile and tablet - let Slick handle the rest */
@media (max-width: 992px) {
    .services-slider-wrapper {
        margin: 0 auto;
        max-width: 90vw;
        max-height: 90vw;
    }
}

@media (max-width: 576px) {
    .services-slider-wrapper {
        margin: 0 auto;
        max-width: 85vw;
        max-height: 85vw;
    }
}

.services-slider .slide:hover img {
    transform: scale(1.05);
}

/* About Me Section Styles */
.about-section {
    position: relative;
}

.about-photo-wrapper {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-photo {
    transition: transform 0.3s ease;
    border-radius: 12px !important;
    max-height: 500px;
    max-width: 100%;
    object-fit: cover;
}

.about-photo:hover {
    transform: scale(1.02);
}

.about-content h2 {
    color: var(--samsoom-dark);
    position: relative;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--samsoom-primary), var(--samsoom-secondary));
    border-radius: 2px;
}

.about-subtitle {
    color: var(--samsoom-primary);
    letter-spacing: 1px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-cta .btn {
    background: var(--samsoom-primary);
    border: 2px solid var(--samsoom-primary);
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.about-cta .btn:hover {
    background: transparent;
    color: var(--samsoom-primary);
    border-color: var(--samsoom-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(115, 97, 76, 0.15);
}

.about-cta .btn:focus {
    box-shadow: 0 0 0 3px rgba(115, 97, 76, 0.2);
}

/* About Me Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        text-align: center;
        margin-top: 2rem;
    }
    
    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-photo {
        max-height: 400px;
    }
    
    .about-photo-wrapper {
        min-height: 350px !important;
    }
}

@media (max-width: 768px) {
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-photo {
        max-height: 300px;
        margin-bottom: 2rem;
    }
    
    .about-photo-wrapper {
        min-height: 300px !important;
    }
    
    .about-cta .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* My Approach Section Styles */
.approach-section {
    position: relative;
    background-color: #f8f9fa;
}

.approach-photo-wrapper {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.approach-photo {
    transition: transform 0.3s ease;
    border-radius: 12px !important;
    max-height: 450px;
    max-width: 100%;
    object-fit: cover;
}

.approach-photo:hover {
    transform: scale(1.02);
}

.approach-content h2 {
    color: var(--samsoom-dark);
    position: relative;
}

.approach-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--samsoom-primary), var(--samsoom-secondary));
    border-radius: 2px;
}

.approach-subtitle {
    color: var(--samsoom-primary);
    letter-spacing: 1px;
}

.approach-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
}

.approach-text p {
    margin-bottom: 1.5rem;
}

.approach-cta .btn {
    background: var(--samsoom-primary);
    border: 2px solid var(--samsoom-primary);
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.approach-cta .btn:hover {
    background: transparent;
    color: var(--samsoom-primary);
    border-color: var(--samsoom-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(115, 97, 76, 0.15);
}

.approach-cta .btn:focus {
    box-shadow: 0 0 0 3px rgba(115, 97, 76, 0.2);
}

/* My Approach Responsive Styles */
@media (max-width: 992px) {
    .approach-section .row .order-lg-last {
        order: -1 !important;
        margin-bottom: 2rem;
    }
    
    .approach-content {
        text-align: center;
        margin-top: 2rem;
    }
    
    .approach-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .approach-photo {
        max-height: 350px;
    }
    
    .approach-photo-wrapper {
        min-height: 350px !important;
    }
}

@media (max-width: 768px) {
    .approach-content h2 {
        font-size: 2rem;
    }
    
    .approach-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .approach-photo {
        max-height: 300px;
        margin-bottom: 2rem;
    }
    
    .approach-photo-wrapper {
        min-height: 300px !important;
    }
    
    .approach-cta .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Ready to Begin Section Styles */
.ready-section {
    position: relative;
    background-color: #f8f9fa;
}

.ready-photo-wrapper {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ready-photo {
    transition: transform 0.3s ease;
    border-radius: 12px !important;
    max-height: 450px;
    max-width: 100%;
    object-fit: cover;
}

.ready-photo:hover {
    transform: scale(1.02);
}

.ready-content h2 {
    color: var(--samsoom-dark);
    position: relative;
}

.ready-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--samsoom-primary), var(--samsoom-secondary));
    border-radius: 2px;
}

.ready-subtitle {
    color: var(--samsoom-primary);
    letter-spacing: 1px;
}

.ready-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
}

.ready-text p {
    margin-bottom: 1.5rem;
}

.ready-cta .btn {
    background: var(--samsoom-primary);
    border: 2px solid var(--samsoom-primary);
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

.ready-cta .btn:hover {
    background: transparent;
    color: var(--samsoom-primary);
    border-color: var(--samsoom-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(115, 97, 76, 0.15);
}

.ready-cta .btn:focus {
    box-shadow: 0 0 0 3px rgba(115, 97, 76, 0.2);
}

/* Ready to Begin Responsive Styles */
@media (max-width: 992px) {
    .ready-section .row .order-lg-last {
        order: -1 !important;
        margin-bottom: 2rem;
    }
    
    .ready-content {
        text-align: center;
        margin-top: 2rem;
    }
    
    .ready-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ready-photo {
        max-height: 350px;
    }
    
    .ready-photo-wrapper {
        min-height: 350px !important;
    }
}

@media (max-width: 768px) {
    .ready-content h2 {
        font-size: 2rem;
    }
    
    .ready-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .ready-photo {
        max-height: 300px;
        margin-bottom: 2rem;
    }
    
    .ready-photo-wrapper {
        min-height: 300px !important;
    }
    
    .ready-cta .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Section Navigation Styles */
/* Header Sticky Behavior */
.site-header {
    transition: all 0.3s ease;
}

.site-header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header.header-scrolled .navbar {
    background-color: transparent !important;
}

.site-header.header-scrolled .navbar-brand .site-title {
    color: var(--bs-primary) !important;
}

.site-header.header-scrolled .navbar-nav .nav-link {
    color: var(--bs-primary) !important;
}

.site-header.header-scrolled .section-nav-link {
    color: var(--bs-primary) !important;
}

.site-header.header-scrolled .section-nav-link:hover {
    background-color: rgba(115, 97, 76, 0.1) !important;
}

.site-header.header-scrolled .section-nav-link.active {
    color: white !important;
    background-color: var(--bs-primary) !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Header Section Navigation */
.section-nav-links {
    margin-left: auto !important;
    padding-left: 1rem;
}

.section-nav-links .nav-item {
    margin: 0 0.25rem;
}

.section-nav-link {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 1.5rem !important;
    transition: all 0.3s ease;
}

.header-transparent .section-nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.header-transparent .section-nav-link:hover {
    color: rgba(255, 255, 255, 1) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.header-transparent .section-nav-link.active {
    color: var(--bs-primary) !important;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Non-transparent header styles */
.navbar-light .section-nav-link {
    color: var(--bs-primary) !important;
}

.navbar-light .section-nav-link:hover {
    color: var(--bs-primary) !important;
    background-color: rgba(115, 97, 76, 0.1);
}

.navbar-light .section-nav-link.active {
    color: white !important;
    background-color: var(--bs-primary);
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Mobile responsive */
@media (max-width: 991.98px) {
    .section-nav-links {
        width: 100%;
        padding: 1rem 0 0 0;
        margin: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .header-transparent .section-nav-links {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .navbar-light .section-nav-links {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .section-nav-links .nav-item {
        margin: 0.25rem 0;
        width: 100%;
    }
    
    .section-nav-link {
        width: 100%;
        text-align: left;
        border-radius: 0.5rem !important;
    }
}

/* Legacy section navigation styles (keep for backwards compatibility) */
.section-navigation {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-navigation .nav-pills .nav-link {
    color: var(--samsoom-primary);
    background: transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 0 5px;
    font-weight: 500;
    border: 2px solid transparent;
}

.section-navigation .nav-pills .nav-link:hover {
    background: rgba(115, 97, 76, 0.1);
    color: var(--samsoom-primary);
    border-color: rgba(115, 97, 76, 0.2);
}

.section-navigation .nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--samsoom-primary), var(--samsoom-secondary));
    color: white;
    box-shadow: 0 2px 10px rgba(115, 97, 76, 0.3);
}

/* Section Navigation Mobile Styles */
@media (max-width: 768px) {
    .section-navigation .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    .section-navigation .nav-pills::-webkit-scrollbar {
        height: 3px;
    }
    
    .section-navigation .nav-pills::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }
    
    .section-navigation .nav-pills::-webkit-scrollbar-thumb {
        background: var(--samsoom-primary);
        border-radius: 3px;
    }
    
    .section-navigation .nav-item {
        flex-shrink: 0;
    }
    
    .section-navigation .nav-link {
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Smooth scroll offset adjustment */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Focus styles for accessibility */
.section-navigation .nav-link:focus {
    outline: 2px solid var(--samsoom-primary);
    outline-offset: 2px;
}

/* Slick Slider Custom Styles */
.services-slider .slick-dots {
    bottom: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: fit-content;
    margin: 0 auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    position: absolute;
}

.services-slider .slick-dots li button:before {
    color: white;
    font-size: 12px;
    opacity: 0.7;
}

.services-slider .slick-dots li.slick-active button:before {
    color: white;
    opacity: 1;
    font-size: 14px;
}

.services-slider .slick-prev,
.services-slider .slick-next {
    z-index: 15;
    width: 40px !important;
    height: 40px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
    margin: 0 !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.services-slider .slick-prev {
    left: 15px !important;
}

.services-slider .slick-next {
    right: 15px !important;
}

.services-slider .slick-prev:before,
.services-slider .slick-next:before {
    color: white !important;
    font-size: 18px !important;
    opacity: 0.9 !important;
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    line-height: 1 !important;
}

.services-slider .slick-prev:hover,
.services-slider .slick-next:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) !important;
    top: 50% !important;
}

.services-slider .slick-prev:hover:before,
.services-slider .slick-next:hover:before {
    opacity: 1 !important;
}

.services-slider .slick-prev:focus,
.services-slider .slick-next:focus {
    background: rgba(0, 0, 0, 0.6) !important;
    outline: 2px solid white;
    outline-offset: 2px;
    transform: translateY(-50%) !important;
    top: 50% !important;
}

/* Animation for service items */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item {
    animation: slideInUp 0.6s ease-out forwards;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }

/* Responsive styles for services section */
@media (max-width: 768px) {
    .services-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .services-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .services-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .service-item {
        justify-content: flex-start;
        text-align: left;
        max-width: 320px;
        width: 100%;
        margin: 0 auto 1rem auto !important;
        display: flex;
        align-items: flex-start;
    }
    
    .service-item .service-icon {
        flex-shrink: 0;
        width: 24px;
        margin-right: 0.75rem;
        margin-top: 2px;
    }
    
    .service-item .service-text {
        flex: 1;
        line-height: 1.4;
    }
    
    /* Square styling handled by main media query above */
    
    .services-slider-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .services-content h2 {
        font-size: 1.8rem;
    }
    
    .service-text {
        font-size: 0.95rem;
    }
    
    /* Square styling handled by main media query above */
    
    .services-cta {
        text-align: center;
    }
    
    .services-cta .btn,
    .about-cta .btn,
    .approach-cta .btn,
    .ready-cta .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}