/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* timeline css*/
        .timeline-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .timeline-header {
            text-align: center;
            margin-bottom: 80px;
            color: white;
        }

        .timeline-header h1 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
        }

        .timeline-header p {
            font-size: 18px;
            opacity: 0.9;
        }

        .timeline {
            position: relative;
            padding: 0;
        }

        /* Vertical line */
        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 100%;
            background: #f6f6f6;
            border-radius: 2px;
        }

        .timeline-item {
            position: relative;
            /*margin-bottom: 80px;*/
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
        }

        .timeline-item:nth-child(1) { animation-delay: 0.2s; }
        .timeline-item:nth-child(2) { animation-delay: 0.4s; }
        .timeline-item:nth-child(3) { animation-delay: 0.6s; }
        .timeline-item:nth-child(4) { animation-delay: 0.8s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Left side items */
        .timeline-item:nth-child(odd) .timeline-content {
            margin-right: auto;
            margin-left: 0;
            width: calc(50% - 50px);
            text-align: right;
        }

        /* Right side items */
        .timeline-item:nth-child(even) .timeline-content {
            margin-left: auto;
            margin-right: 0;
            width: calc(50% - 50px);
            text-align: left;
        }

        .timeline-content {
            background: white;
            padding: 35px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            position: relative;
        }

        .timeline-content:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }

        /* Arrow pointer */
        .timeline-item:nth-child(odd) .timeline-content::after {
            content: '';
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
            border-left: 20px solid white;
        }

        .timeline-item:nth-child(even) .timeline-content::after {
            content: '';
            position: absolute;
            left: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 15px solid transparent;
            border-bottom: 15px solid transparent;
            border-right: 20px solid white;
        }

        /* Year badge with gradient (like Contact Us button) */
        .year-badge {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(90deg, #d946ef 0%, #ef4444 100%);
            color: white;
            width: 90px;
            height: 90px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
            border: 5px solid white;
            z-index: 2;
        }

        .timeline-content h3 {
            font-size: 26px;
            color: #333;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .timeline-content p {
            font-size: 16px;
            color: #666;
            line-height: 1.7;
        }

        /* Icon accent 
        .timeline-content h3::before {
            content: '▸';
            color: #667eea;
            margin-right: 10px;
            font-size: 20px;
        }

        .timeline-item:nth-child(odd) .timeline-content h3::before {
            content: '◂';
            margin-right: 0;
            margin-left: 10px;
            order: 2;
        }*/

        .timeline-item:nth-child(odd) .timeline-content h3 {
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        /* Additional decorative elements */
        .timeline-item:hover .year-badge {
            animation: pulse 0.6s ease;
        }

        @keyframes pulse {
            0%, 100% { transform: translateX(-50%) scale(1); }
            50% { transform: translateX(-50%) scale(1.1); }
        }

        /* Tablet Design (768px - 1024px) */
        @media (max-width: 1024px) and (min-width: 769px) {
            .timeline-container {
                max-width: 900px;
            }

            .timeline-header h1 {
                font-size: 42px;
            }

            .timeline-header p {
                font-size: 16px;
            }

            .timeline-item:nth-child(odd) .timeline-content,
            .timeline-item:nth-child(even) .timeline-content {
                width: calc(50% - 45px);
            }

            .year-badge {
                width: 85px;
                height: 85px;
                font-size: 22px;
            }

            .timeline-content {
                padding: 30px;
            }

            .timeline-content h3 {
                font-size: 24px;
            }

            .timeline-content p {
                font-size: 15px;
            }
        }

        /* Mobile Design (max 768px) */
        @media (max-width: 768px) {
           /* body {
                padding: 40px 15px;
            }*/

            .timeline::before {
                left: 35px;
            }

            .timeline-item {
                flex-direction: column;
                align-items: flex-start;
                /*margin-bottom: 60px;*/
            }

            .timeline-item:nth-child(odd) .timeline-content,
            .timeline-item:nth-child(even) .timeline-content {
                width: calc(100% - 90px);
                margin-left: 90px;
                margin-right: 0;
                text-align: left;
            }

            .timeline-item:nth-child(odd) .timeline-content h3 {
                justify-content: flex-start;
            }

            .timeline-item:nth-child(odd) .timeline-content h3::before {
                content: '▸';
                margin-right: 10px;
                margin-left: 0;
                order: 0;
            }

            .year-badge {
                left: 35px;
                width: 70px;
                height: 70px;
                font-size: 18px;
                border: 4px solid white;
            }

            .timeline-item:nth-child(odd) .timeline-content::after,
            .timeline-item:nth-child(even) .timeline-content::after {
                left: -15px;
                right: auto;
                border-left: none;
                border-right: 15px solid white;
                border-top: 12px solid transparent;
                border-bottom: 12px solid transparent;
            }

            .timeline-header {
                margin-bottom: 60px;
            }

            .timeline-header h1 {
                font-size: 32px;
            }

            .timeline-header p {
                font-size: 15px;
            }

            .timeline-content {
                padding: 25px;
            }

            .timeline-content h3 {
                font-size: 20px;
                margin-bottom: 12px;
            }

            .timeline-content p {
                font-size: 14px;
                line-height: 1.6;
            }

            .timeline-content h3::before {
                font-size: 16px;
            }
        }

        /* Extra Small Mobile (max 480px) */
        @media (max-width: 480px) {
          /*  body {
                padding: 30px 10px;
            }*/

            .timeline::before {
                left: 30px;
            }

            .timeline-item:nth-child(odd) .timeline-content,
            .timeline-item:nth-child(even) .timeline-content {
                width: calc(100% - 75px);
                margin-left: 75px;
            }

            .year-badge {
                left: 30px;
                width: 60px;
                height: 60px;
                font-size: 16px;
                border: 3px solid white;
            }

            .timeline-header h1 {
                font-size: 28px;
            }

            .timeline-header p {
                font-size: 14px;
            }

            .timeline-content {
                padding: 20px;
            }

            .timeline-content h3 {
                font-size: 18px;
            }

            .timeline-content p {
                font-size: 13px;
            }

            .timeline-item {
               /* margin-bottom: 50px;*/
            }
        }

        /* Landscape Mobile */
        @media (max-width: 896px) and (orientation: landscape) {

            .timeline-header {
                margin-bottom: 50px;
            }

            .timeline-header h1 {
                font-size: 36px;
            }

            .timeline-item {
                /*margin-bottom: 50px;*/
            }
        }

        /* Print styles */
        @media print {
            body {
                background: white;
            }

            .timeline-header {
                color: black;
            }

            .timeline::before {
                background: #ddd;
            }

            .year-badge {
                box-shadow: none;
            }

            .timeline-content {
                box-shadow: 0 2px 8px rgba(0,0,0,0.1);
                page-break-inside: avoid;
            }

            .timeline-item {
                page-break-inside: avoid;
            }
        }


/* timeline css*/


/* blog post page css*/