
 /* RESET & GLOBAL */
    * { margin: 0; padding: 0; box-sizing: border-box; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; }
    body { background: #f0f5fe; color: #1a2b4c; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
    /* mobile-first container */
    .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 16px; }
    /* sticky bottom bar mobile */
    .sticky-download-mobile { position: sticky; bottom: 0; z-index: 10; background: white; box-shadow: 0 -4px 12px rgba(0,20,80,0.1); padding: 12px 16px; display: flex; justify-content: center; border-radius: 40px 40px 0 0; margin-top: 12px; backdrop-filter: blur(4px); }
    .sticky-download-mobile .btn { flex: 1; max-width: 300px; margin: 0; box-shadow: 0 4px 10px rgba(0,102,204,0.3); }

    /* GRADIENT HERO */
    .hero { background: linear-gradient(145deg, #e2edff, #ffffff); border-radius: 32px; padding: 32px 20px; margin: 8px 0 24px; box-shadow: 0 12px 30px -8px rgba(0,70,150,0.2); text-align: center; }
    h1 { font-size: 2rem; font-weight: 700; line-height: 1.2; color: #0a2540; max-width: 800px; margin: 0 auto 8px; }
    .subhead { font-size: 1.1rem; color: #1f3a5f; opacity: 0.9; margin-bottom: 16px; }

    /* TRUST BADGES */
    .trust-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 24px 0 12px; font-weight: 500; }
    .trust-item { display: flex; align-items: center; gap: 6px; background: white; padding: 6px 18px; border-radius: 40px; box-shadow: 0 2px 6px rgba(0,0,0,0.02); font-size: 0.9rem; color: #035c8f; }
    .trust-item::before { content: "✓"; font-weight: bold; color: #0a7e3a; background: #e0ffe6; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }

    /* UPLOAD AREA (DRAG & DROP) */
    .upload-area { background: white; border: 2px dashed #a0c4ff; border-radius: 40px; padding: 32px 20px; text-align: center; cursor: pointer; transition: border 0.2s, background 0.2s; box-shadow: 0 6px 14px rgba(50, 80, 130, 0.06); margin-bottom: 24px; }
    .upload-area:hover, .upload-area.dragover { border-color: #1e6df2; background: #f2f7ff; }
    .upload-icon { font-size: 3rem; margin-bottom: 8px; filter: drop-shadow(0 4px 4px rgba(0,0,0,0.05)); }
    .upload-btn { background: #1e6df2; color: white; border: none; padding: 12px 28px; border-radius: 60px; font-size: 1.1rem; font-weight: 600; margin: 16px 0 8px; box-shadow: 0 8px 16px -5px #1e6df280; transition: all 0.15s; cursor: pointer; }
    .upload-btn:hover { background: #0b5ad9; transform: scale(1.02); }
    .file-types { font-size: 0.85rem; color: #60758b; }

    /* MAIN CARD + GRID */
    .card { background: white; border-radius: 40px; padding: 24px 20px; box-shadow: 0 12px 28px -8px rgba(0,45,90,0.12); margin-bottom: 24px; }
    .flex-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 20px 0; }
    .label { font-weight: 600; min-width: 100px; color: #0a2a44; }
    .btn-group { display: flex; flex-wrap: wrap; gap: 8px; }
    .btn-option { background: #eef4ff; border: none; padding: 8px 20px; border-radius: 40px; font-weight: 500; color: #10345e; cursor: pointer; transition: all 0.1s; border: 1px solid transparent; }
    .btn-option.active { background: #1e6df2; color: white; box-shadow: 0 4px 10px #1e6df2b0; border-color: #1e6df2; }
    .btn-option:hover:not(.active) { background: #d9e6ff; }

    /* color picker */
    .color-dot { display: inline-block; width: 24px; height: 24px; border-radius: 50%; margin-right: 4px; border: 2px solid white; box-shadow: 0 0 0 1px #ccc; }
    .bg-color-options { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

    /* custom size row */
    .custom-size-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
    .custom-size-row input { width: 80px; padding: 8px; border-radius: 30px; border: 1px solid #b9cef0; text-align: center; font-weight: 500; }

    /* sheet layout selector */
    .sheet-grid { display: flex; gap: 12px; flex-wrap: wrap; }
    .sheet-btn { background: #f2f6ff; border-radius: 36px; padding: 12px 24px; font-weight: 600; border: 1px solid #d5e2ff; cursor: pointer; transition: all 0.1s; }
    .sheet-btn.active { background: #1e3d6b; color: white; border-color: #1e3d6b; }

    /* loading animation */
    .loading-area { display: none; text-align: center; padding: 30px; }
    .loading-area.show { display: block; }
    .spinner { width: 48px; height: 48px; border: 5px solid #e0ebff; border-top: 5px solid #1e6df2; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px; }
    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

    /* photo preview + canvas */
    .photo-preview-area { display: flex; flex-direction: column; align-items: center; }
    .canvas-container { background: #f2f7fc; border-radius: 32px; padding: 16px; width: 100%; overflow-x: auto; text-align: center; }
    canvas { max-width: 100%; height: auto; border-radius: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); background: #ddd; }
    .badge-preview { font-size: 0.9rem; margin: 8px 0; color: #2b4d71; }

    /* download buttons row */
    .download-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px; }
    .btn { background: white; border: 1px solid #b9d0f0; padding: 14px 32px; border-radius: 60px; font-weight: 600; color: #113355; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: 0.15s; box-shadow: 0 4px 8px rgba(0,0,0,0.02); text-decoration: none; }
    .btn-primary { background: #1e6df2; color: white; border: none; box-shadow: 0 10px 18px -8px #1e6df2; }
    .btn-success { background: #28a745; color: white; border: none; box-shadow: 0 10px 18px -8px #28a745; }
    .btn-primary:hover { background: #0d5bd6; }
    .btn-success:hover { background: #218838; }
    .btn:hover { transform: translateY(-2px); }

    /* FAQ SECTION */
    .faq-grid { margin-top: 32px; }
    .faq-item { background: #fafcff; padding: 20px; border-radius: 28px; margin-bottom: 12px; box-shadow: 0 2px 10px #e0ecff; }
    .faq-question { font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; color: #002856; }

    /* footer internal links */
    .internal-links { margin: 32px 0; padding: 16px; background: #e5f0ff; border-radius: 60px; text-align: center; font-size: 0.95rem; }
    .internal-links a { color: #104079; text-decoration: none; margin: 0 12px; font-weight: 500; }

    /* responsiveness tweaks */
    @media (max-width: 600px) { h1 { font-size: 1.8rem; } .trust-bar { gap: 12px; } .btn { padding: 12px 20px; } .sticky-download-mobile .btn { width: 100%; } }
    @media (min-width: 768px) { .flex-row { flex-direction: row; align-items: center; } }
    /* touch friendly */
    button, .btn, .upload-area { touch-action: manipulation; }
  
    /* addinational custom styles for header & footer */

    /* Modern CSS with attractive design - Desktop & Mobile Responsive */
:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: rgba(67, 97, 238, 0.1);
    --secondary: #7209b7;
    --secondary-light: rgba(114, 9, 183, 0.1);
    --accent: #f72585;
    --accent-light: rgba(247, 37, 133, 0.1);
    --success: #4cc9f0;
    --success-light: rgba(76, 201, 240, 0.1);
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-large: 0 25px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--secondary));
    --gradient-dark: linear-gradient(135deg, var(--dark), #000);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Enhanced Header with Glass Effect */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    color: var(--dark);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}

.logo-icon {
    background: var(--gradient-primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
    transition: var(--transition);
}

/*logo img.*/
.logo img {
  height: 80px;   /* logo size */
  width: auto;
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.1);
}

.h1Logo {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.5px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    position: relative;
    display: inline-block;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 80%;
}

nav a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(67, 97, 238, 0.4);
}

.mobile-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    background: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu:hover {
    background: var(--primary);
    color: white;
}


/* Mobile logo size fix */
@media (max-width: 768px) {

  .header-content {
    padding: 1px 12px;
    align-content: left;
  }

  .logo {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;

  }

  .logo i {
    font-size: 25px; 
    text-align: left;  /* icon small */
    
  }

  .logo h1,
  .logo .logo-text {
    font-size: 20px;   /* text small */
    font-weight: 700;
  }
}
.logo img {
  height: 40px;   /* logo size */
  justify-content: flex-start;
  width: auto;
}


/* Loading Animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--dark);
    color: white;
    text-align: center;
    border-radius: var(--border-radius-sm);
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
    font-weight: normal;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1001;
    transition: width 0.1s;
}

/* footer */
/* Enhanced Footer 2025 */
footer {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: #adb5bd;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.footer-column a:hover {
    color: white;
    padding-left: 8px;
}

.footer-column a i {
    width: 20px;
    text-align: center;
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Enhanced Social Icons */
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    font-size: 1.5rem;
    color: #adb5bd;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.social-icon.facebook:hover { 
    color: #3b5998; 
    box-shadow: 0 10px 20px rgba(59, 89, 152, 0.3);
}
.social-icon.instagram:hover { 
    color: #e4405f; 
    box-shadow: 0 10px 20px rgba(228, 64, 95, 0.3);
}
.social-icon.linkedin:hover { 
    color: #0e76a8; 
    box-shadow: 0 10px 20px rgba(14, 118, 168, 0.3);
}
.social-icon.twitter:hover { 
    color: #1da1f2; 
    box-shadow: 0 10px 20px rgba(29, 161, 242, 0.3);
}
.social-icon.youtube:hover { 
    color: #ff0000; 
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

/* Responsive MOBILE & TABLET */
/* Mobile & Tablet Responsive CSS */
@media screen and (max-width: 1024px) {
    /* Header & Navigation */
    header {
        padding: 0.8rem 0;
    }
    
    .header-content {
        padding: 0 16px;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    nav a {
        padding: 6px 12px;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 24px 16px;
        margin: 4px 0 16px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subhead {
        font-size: 1rem;
    }
    
    /* Trust Badges */
    .trust-bar {
        gap: 16px;
        margin: 20px 0 8px;
    }
    
    .trust-item {
        padding: 5px 14px;
        font-size: 0.85rem;
    }
    
    /* Upload Area */
    .upload-area {
        padding: 24px 16px;
        border-radius: 30px;
    }
    
    .upload-icon {
        font-size: 2.5rem;
    }
    
    .upload-btn {
        padding: 10px 24px;
        font-size: 1rem;
    }
    
    /* Cards & Grid */
    .card {
        padding: 20px 16px;
        border-radius: 32px;
    }
    
    .flex-row {
        gap: 12px;
        margin: 16px 0;
    }
    
    .label {
        min-width: 80px;
        font-size: 0.95rem;
    }
    
    .btn-group {
        gap: 6px;
    }
    
    .btn-option {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
    
    /* Color Picker */
    .color-dot {
        width: 22px;
        height: 22px;
    }
    
    .bg-color-options {
        gap: 8px;
    }
    
    /* Custom Size Row */
    .custom-size-row {
        gap: 6px;
    }
    
    .custom-size-row input {
        width: 70px;
        padding: 6px;
    }
    
    /* Sheet Layout */
    .sheet-grid {
        gap: 8px;
    }
    
    .sheet-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    /* Canvas Container */
    .canvas-container {
        padding: 12px;
        border-radius: 24px;
    }
    
    canvas {
        max-width: 100%;
        height: auto;
    }
    
    /* Download Row */
    .download-row {
        gap: 12px;
        margin-top: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* FAQ Section */
    .faq-item {
        padding: 16px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    /* Internal Links */
    .internal-links {
        margin: 24px 0;
        padding: 12px;
        border-radius: 40px;
    }
    
    .internal-links a {
        margin: 0 8px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    footer {
        padding: 3rem 0 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 2rem;
        padding: 0 16px;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-column ul li {
        margin-bottom: 0.8rem;
    }
    
    .footer-column a {
        font-size: 0.95rem;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .copyright {
        padding-top: 2rem;
        font-size: 0.9rem;
    }
}

/* Tablet Specific (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .flex-row {
        flex-direction: row;
        align-items: center;
    }
    
    .trust-bar {
        gap: 20px;
    }
    
    .trust-item {
        font-size: 0.9rem;
    }
    
    .btn-group {
        flex-wrap: nowrap;
    }
    
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Specific (up to 767px) */
@media screen and (max-width: 767px) {
    /* Hide desktop navigation, show mobile menu */
    nav ul {
        display: none;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .header-content {
        padding: 8px 12px;
    }
    
    .logo {
        gap: 6px;
    }
    
    .logo i {
        font-size: 22px;
    }
    
    .logo h1,
    .logo .logo-text {
        font-size: 18px;
    }
    
    .logo img {
        height: 32px;
    }
    
    .auth-buttons {
        display: none;
    }
    
    /* Mobile sticky bottom bar */
    .sticky-download-mobile {
        padding: 10px 12px;
        margin-top: 8px;
    }
    
    .sticky-download-mobile .btn {
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    /* Hero adjustments */
    h1 {
        font-size: 1.6rem;
    }
    
    .trust-bar {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .trust-item {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    /* Upload area */
    .upload-area {
        padding: 20px 12px;
    }
    
    .upload-icon {
        font-size: 2.2rem;
    }
    
    .upload-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        margin: 12px 0 6px;
    }
    
    /* Form elements */
    .flex-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .label {
        min-width: auto;
        margin-bottom: 4px;
    }
    
    .btn-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-option {
        flex: 1;
        text-align: center;
        padding: 8px 8px;
        font-size: 0.85rem;
    }
    
    .bg-color-options {
        justify-content: flex-start;
    }
    
    .custom-size-row {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .custom-size-row input {
        width: 100%;
        max-width: 120px;
    }
    
    /* Sheet layout */
    .sheet-grid {
        flex-direction: column;
        width: 100%;
    }
    
    .sheet-btn {
        width: 100%;
        text-align: center;
    }
    
    /* Download buttons */
    .download-row {
        flex-direction: column;
    }
    
    .download-row .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Canvas */
    .canvas-container {
        padding: 8px;
        overflow-x: auto;
    }
    
    canvas {
        width: 100%;
        height: auto;
    }
    
    /* FAQ */
    .faq-grid {
        margin-top: 24px;
    }
    
    .faq-item {
        padding: 14px;
    }
    
    /* Internal links */
    .internal-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .internal-links a {
        margin: 0;
        padding: 6px 12px;
        background: white;
        border-radius: 30px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    
    /* Footer mobile */
    footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul li {
        text-align: center;
    }
    
    .footer-column a {
        justify-content: center;
    }
    
    .footer-column a:hover {
        padding-left: 0;
        transform: scale(1.05);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
    
    .copyright {
        padding-top: 1.8rem;
    }
}

/* Small Mobile (up to 400px) */
@media screen and (max-width: 400px) {
    h1 {
        font-size: 1.4rem;
    }
    
    .subhead {
        font-size: 0.95rem;
    }
    
    .trust-item {
        font-size: 0.8rem;
    }
    
    .btn-option {
        font-size: 0.8rem;
        padding: 6px 6px;
    }
    
    .sheet-btn {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    button, 
    .btn, 
    .upload-area,
    .btn-option,
    .sheet-btn,
    .trust-item,
    .internal-links a,
    .social-icon {
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn-option,
    .sheet-btn {
        padding: 12px 16px;
    }
    
    input, 
    select, 
    textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}
/*=================================== parargaph style css for this *===================================================/
/* ==========================================
   PASSPORT PHOTO MAKER CONTENT SECTION
========================================== */

.tool-content {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff, #f3f6ff);
    font-family: 'Inter', sans-serif;
}

.tool-content-container {
    max-width: 920px;
    margin: auto;
    background: #ffffff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
}

/* ===============================
   MAIN H1
================================== */

.tool-content h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    color: #111827;
    margin-bottom: 35px;
    position: relative;
}

/* Gradient underline accent */
.tool-content h1::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    display: block;
    margin-top: 14px;
    border-radius: 5px;
}

/* ===============================
   H2 SUBHEADINGS
================================== */

.tool-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 18px;
    color: #1f2937;
}

/* ===============================
   PARAGRAPH STYLING
================================== */

.tool-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 22px;
    text-align: justify;
}

/* Highlight important SEO keywords */
.tool-content strong {
    color: #4f46e5;
    font-weight: 700;
}

/* Bullet-like spacing fix */
.tool-content p br {
    line-height: 2.2;
}

/* Subtle hover readability */
.tool-content p:hover {
    color: #374151;
    transition: color 0.3s ease;
}

/* ===============================
   RESPONSIVE DESIGN
================================== */

@media (max-width: 992px) {
    .tool-content-container {
        padding: 45px;
    }
}

@media (max-width: 768px) {

    .tool-content {
        padding: 70px 18px;
    }

    .tool-content-container {
        padding: 30px 22px;
        border-radius: 14px;
    }

    .tool-content h1 {
        font-size: 26px;
    }

    .tool-content h2 {
        font-size: 20px;
    }

    .tool-content p {
        font-size: 15px;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {

    .tool-content h1 {
        font-size: 22px;
    }

    .tool-content p {
        font-size: 14px;
    }
}