
        :root {
            --primary-color: #16a34a;
            --primary-hover: #15803d;
            --secondary-color: #1f2937;
            --accent-color: #0ea5e9;
            --text-primary: #111827;
            --text-secondary: #6b7280;
            --text-muted: #9ca3af;
            --background: #ffffff;
            --background-alt: #f8fafc;
            --surface: #ffffff;
            --border: #e5e7eb;
            --border-light: #f3f4f6;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
            --gradient-primary: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
            --gradient-hero: linear-gradient(135deg, #065f46 0%, #047857 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--background);
            color: var(--text-primary);
        }

        .hero-section {
            margin-top: 0.5%;
            position: relative;
            height: 320px;
            background: var(--gradient-hero);
            /* background: #15803d87; */
            display: flex;
            align-items: center;
            padding: 0 60px;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            /* background: url('../../images/commonbanner.jpg') no-repeat center right; */
            background: url('../../{{ $projects->image }}') no-repeat center right;
            background-size: cover;
            opacity: 0.2;
        }

        .movie-poster1 {
            width: 38%;
            height: 250px;
            border-radius: 12px;
            background: var(--gradient-primary);
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-xl);
            flex-shrink: 0;
        }

        .movie-poster1 img {
            width: 100%;
            height: auto;
            display: block;
        }

        .movie-info1 {
            margin-left: 40px;
            flex: 1;
            z-index: 2;
        }

        .movie-title1 {
            font-size: 48px;
            font-weight: bold;
            margin-bottom: 16px;
            color: #ffffff;
        }

        .rating-section {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .rating-badge {
            display: flex;
            align-items: center;
            gap: 4px;
            background: var(--primary-color);
            color: #ffffff;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: bold;
        }

        /* Projects Section Styles */
        .movies-section {
            margin: 40px -45px;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .see-all-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: color 0.2s;
        }

        .see-all-link:hover {
            color: var(--primary-hover);
        }

        .movies-container {
            position: relative;
        }

        .movies-grid {
            display: flex;
            gap: 20px;
            overflow-x: hidden;
            scroll-behavior: smooth;
            padding: 0 0 20px 0;
        }

        .movie-card {
            min-width: 280px;
            background: var(--surface);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
            box-shadow: var(--shadow);
            border: 1px solid var(--border-light);
            flex-shrink: 0;
        }

        .movie-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary-color);
        }

        .movie-card a {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .movie-poster {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background: var(--gradient-primary);
        }

        .movie-info {
            padding: 20px;
        }

        .movie-rating {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            flex-wrap: wrap;
            gap: 8px;
        }

        .rating-votes {
            font-size: 12px;
            color: var(--text-muted);
            font-weight: 500;
        }

        .movie-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text-primary);
            line-height: 1.3;
        }

        .movie-genre {
            font-size: 14px;
            color: var(--text-secondary);
            font-weight: 500;
        }

        /* Scroll Navigation Buttons */
        .scroll-navigation {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary-color);
            border: none;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            box-shadow: var(--shadow-lg);
        }

        .scroll-navigation:hover {
            background: var(--primary-hover);
            transform: translateY(-50%) scale(1.1);
            box-shadow: var(--shadow-xl);
        }

        .scroll-prev {
            left: -25px;
        }

        .scroll-next {
            right: -25px;
        }

        .scroll-navigation:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: var(--text-muted);
        }

        .scroll-navigation:disabled:hover {
            transform: translateY(-50%);
            background: var(--text-muted);
            box-shadow: var(--shadow-lg);
        }

        .vote-count {
            color: #ffffff;
            opacity: 0.8;
            font-size: 14px;
        }

        .movie-actions {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .btn-primary {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
        }

        .btn-primary:hover {
            background: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn-secondary {
            background: transparent;
            color: #ffffff;
            border: 2px solid rgba(255, 255, 255, 0.3);
            padding: 10px 22px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-secondary:hover {
            border-color: var(--primary-color);
            background: var(--primary-color);
            color: #ffffff;
        }

        .movie-meta {
            color: #ffffff;
            opacity: 0.9;
            font-size: 16px;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 40px 0;
        }

        .section-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 24px;
            color: var(--text-primary);
        }

        .about-text {
            color: var(--text-secondary);
            line-height: 1.8;
            font-size: 16px;
        }

        /* MOBILE RESPONSIVE STYLES */
        @media (max-width: 768px) {
            /* Hero Section Mobile */
            .hero-section {
                flex-direction: column;
                height: auto;
                padding: 30px 20px;
                text-align: center;
            }

            .hero-bg {
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                opacity: 0.2;
            }

            .movie-poster1 {
                width: 60%;
                max-width: 250px;
                margin-bottom: 20px;
            }

            .movie-info1 {
                margin-left: 0;
                width: 100%;
            }

            .movie-title1 {
                font-size: 28px;
                line-height: 1.2;
            }

            .rating-section {
                justify-content: center;
                gap: 8px;
            }

            .movie-actions {
                justify-content: center;
                gap: 8px;
            }

            .btn-primary,
            .btn-secondary {
                padding: 10px 18px;
                font-size: 14px;
                flex: 1;
                max-width: 140px;
            }

            .movie-meta {
                font-size: 14px;
                text-align: center;
            }

            /* Container Mobile */
            .container {
                padding: 0 15px;
            }

            /* Section Mobile */
            .section {
                padding: 30px 0;
            }

            .section-title {
                font-size: 20px;
                margin-bottom: 20px;
            }

            .section-header {
                margin-bottom: 20px;
            }

            /* Movies Section Mobile */
            .movies-section {
                margin: 30px 0;
            }

            .movies-container {
                margin: 0 -15px;
                padding: 0 15px;
            }

            .movies-grid {
                gap: 15px;
                padding: 0 0 15px 0;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
            }

            .movie-card {
                min-width: 240px;
                max-width: 260px;
                scroll-snap-align: start;
            }

            .movie-poster {
                height: 160px;
            }

            .movie-info {
                padding: 15px;
            }

            .movie-title {
                font-size: 16px;
                margin-bottom: 6px;
            }

            .movie-genre {
                font-size: 13px;
            }

            .rating-badge {
                font-size: 12px;
                padding: 3px 6px;
            }

            .rating-votes {
                font-size: 11px;
            }

            /* Navigation Buttons Mobile */
            .scroll-navigation {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }

            .scroll-prev {
                left: -10px;
            }

            .scroll-next {
                right: -10px;
            }

            /* About Section Mobile */
            .about-text {
                font-size: 15px;
                line-height: 1.7;
            }
        }

        /* Small Mobile (320px and below) */
        @media (max-width: 480px) {
            .hero-section {
                padding: 20px 15px;
            }

            .movie-poster1 {
                width: 95%;
                height: 205px;
                max-width: 100%;
            }

            .movie-title1 {
                font-size: 24px;
            }

            .container {
                padding: 0 10px;
            }

            .movies-container {
                margin: 0 -10px;
                padding: 0 10px;
            }

            .movie-card {
                min-width: 200px;
                max-width: 220px;
            }

            .movie-poster {
                height: 140px;
            }

            .movie-info {
                padding: 12px;
            }

            .movie-title {
                font-size: 15px;
            }

            .btn-primary,
            .btn-secondary {
                padding: 8px 14px;
                font-size: 13px;
                max-width: 120px;
            }

            .scroll-navigation {
                width: 35px;
                height: 35px;
                font-size: 14px;
            }

            .section-title {
                font-size: 18px;
            }

            .about-text {
                font-size: 14px;
            }
        }

        /* Very Small Mobile (320px and below) */
        @media (max-width: 360px) {
            .movie-card {
                min-width: 180px;
                max-width: 200px;
            }

            .movie-poster {
                height: 120px;
            }

            .movie-info {
                padding: 10px;
            }

            .movie-title {
                font-size: 14px;
            }

            .movie-genre {
                font-size: 12px;
            }

            .rating-badge {
                font-size: 11px;
                padding: 2px 4px;
            }

            .rating-votes {
                font-size: 10px;
            }
        }

        /* Landscape Mobile */
        @media (max-height: 500px) and (orientation: landscape) {
            .hero-section {
                flex-direction: row;
                height: auto;
                min-height: 300px;
                padding: 20px;
            }

            .movie-poster1 {
                width: 30%;
                max-width: 200px;
            }

            .movie-info1 {
                margin-left: 30px;
                text-align: left;
            }

            .movie-title1 {
                font-size: 24px;
            }

            .rating-section {
                justify-content: flex-start;
            }

            .movie-actions {
                justify-content: flex-start;
            }
        }

        /* Tablet Styles */
        @media (min-width: 769px) and (max-width: 1024px) {
            .hero-section {
                padding: 0 40px;
            }

            .movie-title1 {
                font-size: 36px;
            }

            .movie-card {
                min-width: 260px;
            }

            .container {
                padding: 0 30px;
            }
        }

        /* Hide scrollbars on mobile for cleaner look */
        @media (max-width: 768px) {
            .movies-grid::-webkit-scrollbar {
                display: none;
            }

            .movies-grid {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
        }



/* new model css */

 

.active{
    width: 100%;
}

        /* Modal Styles */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.75);
            z-index: 1000;
            animation: fadeIn 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        #termsModal {
            z-index: 1100;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background: var(--surface);
            border-radius: 16px;
            max-width: 500px;
            width: 100%;
            box-shadow: var(--shadow-xl);
            animation: slideUp 0.3s ease;
        }

        @keyframes slideUp {
            from {
                transform: translateY(30px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-header {
            text-align: center;
            padding: 20px 20px 15px;
            border-bottom: 1px solid var(--border-light);
            position: relative;
        }

        .modal-title {
            font-size: 1.25rem;
            color: var(--text-primary);
            font-weight: 700;
            margin-bottom: 5px;
        }

        .modal-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 10px;
        }

        .modal-body {
            padding: 20px;
        }

        .quantity-selector {
            margin-bottom: 20px;
        }

        .quantity-label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 10px;
            display: block;
            text-align: center;
        }

        .quantity-numbers {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
            margin-bottom: 10px;
        }

        .quantity-btn {
            width: 38px;
            height: 38px;
            border: 2px solid var(--border);
            background: var(--surface);
            border-radius: 50%;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .quantity-btn:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .quantity-btn.active {
            background: #ef4444;
            color: white;
            border-color: #ef4444;
        }

        .manual-input-section {
            text-align: center;
            margin-bottom: 20px;
        }

        .manual-input-label {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 8px;
            display: block;
        }

        .manual-input {
            width: 100%;
            max-width: 180px;
            padding: 10px;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 0.95rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .manual-input:focus {
            outline: none;
            border-color: var(--primary-color);
        }

        .price-calculation {
            background: var(--background-alt);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 15px;
            border: 2px solid var(--border-light);
        }

        .price-per-tree {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border);
        }

        .price-label {
            font-size: 0.9rem;
            color: var(--text-secondary);
        }

        .price-value {
            font-size: 1rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .total-price {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .total-label {
            font-size: 1rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .total-value {
            font-size: 1.5rem;
            color: var(--primary-color);
            font-weight: 700;
        }

        .price-breakdown {
            text-align: center;
            margin-top: 8px;
        }

        .breakdown-text {
            font-size: 0.85rem;
            color: var(--text-secondary);
            font-style: italic;
        }

        .special-offer {
            background: #fef3c7;
            border: 1px solid #fbbf24;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: var(--text-primary);
        }

        .modal-footer {
            padding: 0 20px 20px;
        }

        .btn-select {
            width: 100%;
            padding: 14px;
            background: #ef4444;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-select:hover {
            background: #dc2626;
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 32px;
            height: 32px;
            border: none;
            background: var(--background-alt);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: var(--text-secondary);
            transition: all 0.3s ease;
        }

        .close-btn:hover {
            background: var(--border);
            color: var(--text-primary);
        }

        /* Terms Modal Styles */
        .terms-modal {
            max-width: 500px;
            max-height: 85vh;
            display: flex;
            flex-direction: column;
        }

        .terms-header {
            padding: 24px;
            border-bottom: 1px solid var(--border);
        }

        .terms-header h2 {
            margin: 0;
            font-size: 22px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .terms-body {
            padding: 24px;
            overflow-y: auto;
            flex: 1;
        }

        .terms-list {
            list-style: none;
            counter-reset: terms-counter;
            padding: 0;
            margin: 0;
        }

        .terms-list li {
            counter-increment: terms-counter;
            margin-bottom: 16px;
            padding-left: 0;
            font-size: 14px;
            line-height: 1.6;
            color: #374151;
        }

        .terms-list li::before {
            content: counter(terms-counter) ". ";
            font-weight: 600;
            color: #111827;
        }

        .terms-footer {
            padding: 16px 24px;
            border-top: 1px solid var(--border);
            display: flex;
            gap: 12px;
            justify-content: flex-end;
        }

        .btn-cancel,
        .btn-accept {
            padding: 12px 32px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }

        .btn-cancel {
            background: white;
            color: #6b7280;
            border: 1px solid #d1d5db;
        }

        .btn-cancel:hover {
            background: #f9fafb;
        }

        .btn-accept {
            background: linear-gradient(135deg, #ec4899 0%, #e11d48 100%);
            color: white;
        }

        .btn-accept:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
        }

        @media (max-width: 768px) {
            .movie-title1 {
                font-size: 1.5rem;
            }

            .movie-actions {
                flex-direction: column;
            }

            .btn-primary, .btn-secondary {
                width: 100%;
                justify-content: center;
            }

            .terms-footer {
                flex-direction: column;
            }

            .btn-cancel,
            .btn-accept {
                width: 100%;
            }
        }