:root {
    --primary-color: #2196f3;
    --primary-glow: rgba(33, 150, 243, 0.8);
    --secondary-color: #9c27b0;
    --text-color: #ffffff;
    --bg-color: #0a0a12;
    --nav-bg: rgba(16, 16, 26, 0.7);
    --dropdown-bg: rgba(20, 20, 35, 0.8);
    --hover-color: #3f51b5;
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --neon-glow: 0 0 10px rgba(33, 150, 243, 0.5),
                 0 0 20px rgba(33, 150, 243, 0.3),
                 0 0 30px rgba(33, 150, 243, 0.1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-bg: linear-gradient(135deg, var(--bg-color), #151530);
    --glass-effect: saturate(180%) blur(10px);
    --border-radius: 12px;
    --text-description: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}


/* Header and Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--nav-bg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px var(--shadow-color);
    transition: var(--transition-medium);
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: var(--neon-glow);
    position: relative;
    display: inline-block;
    transition: var(--transition-medium);
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 15px var(--primary-glow),
                 0 0 30px var(--primary-glow);
}

.logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    bottom: -4px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-medium);
    box-shadow: var(--neon-glow);
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--neon-glow);
}

li {
    position: relative;
    list-style: none;
    marker: none;
    text-align: justify;
}

/* Icons */
.icon {
    transition: var(--transition-medium);
    vertical-align: middle;
}

.chevron-icon {
    transition: transform var(--transition-medium);
}

.has-dropdown:hover .chevron-icon {
    transform: rotate(180deg);
}

.hidden {
    display: none;
}

/* Dropdown Menus */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    background: var(--dropdown-bg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: all var(--transition-medium);
    box-shadow: 0 10px 30px var(--shadow-color);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.glow-box {
    margin: 20px auto;
    padding: 20px;
    max-width: 600px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    text-align: center;
}
.glow-box h2 {
    color: #d9534f;
    font-weight: bold;
}
.glow-box p {
    color: #555;
    font-size: 16px;
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: var(--dropdown-bg);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
    backdrop-filter: var(--glass-effect);
    -webkit-backdrop-filter: var(--glass-effect);
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.7rem 1rem;
    display: block;
    border-radius: var(--border-radius);
    transition: all var(--transition-medium);
    margin-bottom: 2px;
}

.dropdown a:hover {
    background: rgba(33, 150, 243, 0.15);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Search Bar */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    width: 180px;
    transition: all var(--transition-medium);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    width: 240px;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.3);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 5px;
    transition: var(--transition-fast);
}

.search-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    padding: 0.6rem;
    font-size: 1.2rem;
    transition: all var(--transition-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(15deg);
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.6rem;
    transition: var(--transition-medium);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    position: absolute;
    transition: all var(--transition-medium);
    border-radius: 10px;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
    width: 70%;
}

.hamburger span:last-child {
    top: 18px;
}

/* Mobile Menu Active State */
.nav-active .hamburger span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.nav-active .hamburger span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-active .hamburger span:last-child {
    transform: rotate(-45deg);
    top: 9px;
}


.cv-container {
    margin: 20px auto;
    padding: 20px;
    max-width: 500px;
    background: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 0 20px #0ff;
    text-align: center;
}
.cv-title {
    font-size: 2rem;
    color: #0ff;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 10px #0ff;
    margin-bottom: 0.5em;
}
.cv-subtitle {
    color: #fff;
    font-family: Arial, sans-serif;
    margin-bottom: 1.5em;
}
.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.verification-form {
    width: 100%;
}
.form-group {
    margin-bottom: 1em;
    width: 100%;
}
.form-input {
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
    color: #000;
    box-sizing: border-box;
}
.verify-button {
    color: white;
    background: #0ff;
    border: none;
    border-radius: 5px;
    padding: 10px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.verify-button:disabled {
    background: #888;
    cursor: not-allowed;
}
@media (max-width: 600px) {
    .cv-container {
        padding: 10px;
        max-width: 98vw;
    }
    .form-input {
        max-width: 100%;
        font-size: 0.95rem;
    }
    .cv-title {
        font-size: 1.3rem;
    }
}

.certificate-info .info-item {
    font-size: clamp(1rem, 2vw, 1.25rem);
}
    
.preview-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}



/* Content Styling */
.content {
    margin-top: 70px;
    padding: 2rem;
}

.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 10; 
    background: transparent;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(33, 150, 243, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--text-description);
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-medium);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.6);
}

.section {
    padding: 5rem 2rem;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.feature {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-medium);
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(33, 150, 243, 0.3);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature p {
    color: var(--text-description);
}

.form-group {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);      
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    border: 1px solid rgba(37,99,235,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
        
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        align-items: flex-start;
        background: var(--nav-bg);
        backdrop-filter: var(--glass-effect);
        -webkit-backdrop-filter: var(--glass-effect);
        width: 80%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: right var(--transition-slow);
        box-shadow: -10px 0 30px var(--shadow-color);
        border-left: 1px solid var(--border-color);
    }

    .nav-active .nav-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        margin-bottom: 2rem;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(33, 150, 243, 0.15);
    }

    .dropdown {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        padding: 0;
        padding-left: 1rem;
        margin-left: 1rem;
        display: none;
        box-shadow: none;
        border-left: 1px solid var(--border-color);
        transform: none;
        transition: all var(--transition-medium);
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown.active .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .dropdown a {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }

    .search-container {
        width: 100%;
    }

    .search-input, 
    .search-input:focus {
        width: 100%;
    }

    .search-input {
        padding: 0.8rem 1rem;
    }

    .theme-toggle {
        align-self: flex-start;
    }

    .chevron-icon {
        position: absolute;
        right: 1rem;
    }

    .has-dropdown.active .chevron-icon {
        transform: rotate(180deg);
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .content {
        padding: 1rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
        
    .form-group {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 1rem;
    }
        
    .verify-button {
    width: 100%;
    justify-content: center;
    }
        
    .step-arrow {
    transform: rotate(0);
       margin: 2rem 0;
    }
        
    .support-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

.anitext {
    background: linear-gradient(
        to right,
        #7953cd 20%,
        #00affa 30%,
        #0190cd 70%,
        #764ada 80%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 500% auto;
    animation: textShine 5s ease-in-out infinite alternate;
}

.anitext1 {
    background: linear-gradient(
        to right,
        #7953cd 20%,
        #00affa 30%,
        #0190cd 70%,
        #764ada 80%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;    
    background-size: 500% auto;
    animation: textShine 6s ease-in-out infinite alternate;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}



.cvh2{
    margin-top: 15px;
    width: 350px;
    font-size: 3.5em;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cvp{
    width: 350px;
    font-size: 1em;
    margin-top: -30px;
}

.cvbutton{
    margin-top: 10px;
    width: 150px;
    height: 40px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    word-spacing: 2px;
    background: transparent;
    border: 2.4px solid #fff;
    border-radius: 50px;
}

.cvbutton:hover{
    transition: 0.5s;
    color: #000;
    background: #fff;
}

.cvbox{
    width: 550px;
    height: 350px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-radius: 40px;
    z-index: 1;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

@keyframes float1 {
        0%, 100% { transform: translateY(0) scale(1);}
        50% { transform: translateY(-18px) scale(1.08);}
    }
    @keyframes float2 {
        0%, 100% { transform: translateY(0) scale(1);}
        50% { transform: translateY(14px) scale(1.12);}
    }
    @keyframes float3 {
        0%, 100% { transform: translateY(0) scale(1);}
        50% { transform: translateY(-10px) scale(1.05);}
    }
    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-30px);}
        to { opacity: 1; transform: translateY(0);}
    }
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px);}
        to { opacity: 1; transform: translateY(0);}
    }
    @keyframes fadeIn {
        from { opacity: 0;}
        to { opacity: 1;}
    }

/* Neon Border */
            .neon-border {
                position: relative;
                border-radius: 20px;
                z-index: 1;
            }
            .neon-border::before {
                content: '';
                position: absolute;
                inset: 0;
                border-radius: 20px;
                padding: 2px;
                background: linear-gradient(270deg, #00eaff, #ff00ea, #ffd600, #00eaff);
                background-size: 600% 600%;
                animation: neonMove 4s linear infinite;
                z-index: 2;
                pointer-events: none;
                -webkit-mask:
                    linear-gradient(#fff 0 0) content-box, 
                    linear-gradient(#fff 0 0);
                mask:
                    linear-gradient(#fff 0 0) content-box, 
                    linear-gradient(#fff 0 0);
                -webkit-mask-composite: xor;
                mask-composite: exclude;
            }
            @keyframes neonMove {
                0% { background-position: 0% 50%; }
                50% { background-position: 100% 50%; }
                100% { background-position: 0% 50%; }
            }



.verify-button {
    margin-top: 15px; 
    padding: 10px 20px; 
    background: #0ff; 
    color: #ffffff; 
    border: none; 
    border-radius: 5px; 
    font-family: Arial, sans-serif; 
    font-size: 16px; 
    cursor: pointer; 
    box-shadow: 0 0 10px #0ff;
    background: var(--primary);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.verify-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37,99,235,0.2);
}

.parent {
display: grid;
grid-template-columns: repeat(2, 1fr) repeat(3, 0);
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}

.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

.fa {
  padding: 20px;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Add a Typewriting effect if you want */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    animation: typing 6s steps(40, end), blink-caret 0.75s step-end infinite;
    border-right: 3px solid var(--primary-color);
    padding-right: 5px;
    margin: 0 auto;
    text-align: center;
    animation-iteration-count: infinite;
    animation-delay: 4s; /* Ensures a 10-second cycle (6s typing + 4s delay) */
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

.typing-container {
    font-size: 2em;
    margin-bottom: 20px;
    }

.typing-text {
    border-right: 2px solid #195eff;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Footer */
.footer {
    background: var(--nav-bg);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-color);
    position: relative;
    margin-top: 40px; 
    border-top: 1px solid var(--border-color); 
    box-shadow: 0 -4px 30px var(--shadow-color);
}
