html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

footer {
  margin-bottom: 0;
}


 .resume-hero {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            padding: 40px 20px;
            max-width: 1400px;
            margin: auto;
        }

        .hero-left {
            flex: 1;
        }

        .resume-hero .hero-left .hero-heading {
            font-family: sans-serif;
            font-size: 4rem;
            font-weight: 900;
            line-height: 1.2;
            margin: 0 0 20px;
        }

        .resume-hero .hero-left .hero-heading .highlight {
            background: linear-gradient(to right, #6366f1, #ec4899);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }


        .hero-left p {
            font-size: 16px;
            margin-bottom: 20px;
        }

        .resume-template-btn {
            display: flex;
            gap: 15px;
        }

        .resume-template-btn .btn {
            padding: 12px 20px;
            border-radius: 8px;
            background-color: #e0f0ff;
            color: #007bff;
            font-weight: 600;
            text-decoration: none;
            transition: 0.3s;
        }

        .resume-template-btn .btn:hover {
            background-color: #c0e0ff;
        }

        .resume-template-btn .btn.secondary {
            background-color: #f0f0f0;
            color: #28a745;
        }

        .resume-template-btn .btn.secondary:hover {
            background-color: #e0e0e0;
            color: #1e7e34;
        }

        .hero-right {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .hero-right img {
            max-width: 500px;
            width: 100%;
            height: 600px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }


        /* Responsive: stack on mobile */
        @media (max-width: 768px) {
            .resume-hero {
                flex-direction: column;
                text-align: center;
            }

            .resume-hero .hero-left .hero-heading {
                font-size: 2rem;
            }

            .hero-right img {
                max-width: 90%;
            }

            .resume-template-btn {
                justify-content: center;
                flex-direction: column;
            }
        }

        /* Tablet: medium screens */
        @media (max-width: 1024px) {
            .resume-hero {

                flex-direction: column;
                /* keep left-right layout */
                gap: 30px;
                /* reduce gap between columns */
                padding: 30px 20px;
            }

            .resume-hero .hero-left .hero-heading {
                font-size: 2rem;
                text-align: center;
            }

            .hero-left p {
                font-size: 1rem;
                text-align: center;
                margin: 20px 50px;
            }

            .resume-template-btn {
                justify-content: center;
                flex-direction: column;
                margin: auto;
            }

        }




        .section-heading {
            text-align: center;
            /* center both h2 and p */
            margin-bottom: 20px;
            /* optional spacing below */
        }

        .section-heading h2 {
            margin: 0;
            font-size: 2.5rem;
            /* heading size */
            color: #7c3aed;
            /* violet shade */
        }

        .section-heading p {
            color: #6b7280;
            /* gray text */
            margin-top: 0.3rem;
            font-size: 1.1rem;
            /* optional: paragraph size */
        }

        /* Tablet: max-width 768px */
        @media (max-width: 768px) {
            .section-heading h2 {
                font-size: 2rem;
                /* medium heading */
            }

            .section-heading p {
                font-size: 1rem;
            }
        }



        .section {
            max-width: 900px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        .card {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-left: 6px solid;
            border-radius: 8px;
            padding: 1.2rem;
            margin: 1rem 0;
        }

        .card h3 {
            margin-top: 0;
            font-size: 1.1rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .card p,
        .card ul {
            margin: 0.5rem 0 0;
        }

        .yellow {
            border-color: #facc15;
            background: #fefce8;
        }

        .blue {
            border-color: #3b82f6;
            background: #eff6ff;
        }

        .green {
            border-color: #22c55e;
            background: #ecfdf5;
        }

        .red {
            border-color: #ef4444;
            background: #fef2f2;
        }

        ul li {
            margin-bottom: 0.4rem;
        }



        /* Button */

        .resume-template-btn {
            display: flex;
            gap: 15px;
            /* space between buttons */
            justify-content: center;
            /* center buttons horizontally */
            margin-top: 20px;
            flex-direction: column;
            max-width: 400px;

        }

        .resume-template-btn .btn {
            text-align: center;
            padding: 10px 20px;
            border-radius: 8px;
            background-color: #e0f0ff;
            /* light blue background */
            color: #007bff;
            /* slightly darker text for contrast */
            text-decoration: none;
            font-weight: 600;
            transition: background 0.3s ease, color 0.3s ease;
        }

        .resume-template-btn .btn:hover {
            background-color: #c0e0ff;
            /* slightly darker on hover */
            color: #0056b3;
            /* text color on hover */
        }

        .resume-template-btn .btn.secondary {
            background-color: #f0f0f0;
            /* light gray background */
            color: #28a745;
            /* green text */
        }

        .resume-template-btn .btn.secondary:hover {
            background-color: #e0e0e0;
            /* darker gray on hover */
            color: #1e7e34;
            /* dark green text on hover */
        }

        

        /* Default hide mobile ad */
        .mobile-ad {
            display: none;
        }

        .desktop-ad {
            display: block;
        }

        /* When screen is below 1024px → show phone ad */
        @media (max-width: 1024px) {
            .desktop-ad {
                display: none;
            }

            .mobile-ad {
                display: block;
            }
        }

        /* Center ads safely */
        .responsive-ad {
            display: flex;
            justify-content: center;
            margin: 20px auto;
        }