/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    font-family:"Baskervville" ;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    
    display: flex;
    flex-direction: column;
    background-color:#f2eebf
}


/* ===== MAIN HEADER ===== */

 
nav {
    background-color:#f2eebf;
    color: #320b35;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    z-index: 2;
}
/* ===== HOLOGRAPHIC CARD WRAPPER ===== */
.holographic-container {
    display: flex;
    justify-content: center;
}

.holographic-card {
    width: 95%;
    position: relative;
    overflow: visible;
    border-radius: 12px;
    transition: 0.4s ease;
}

/* ===== LIGHT SWEEP EFFECT ===== */
.holographic-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -150;
    width: 150%;
    height: 200%;
    /*background: linear-gradient(
        120deg,
        transparent,
        #a471a7,
        transparent
    );*/
    transform: rotate(25deg);
    opacity: 0;
    transition: 0.6s;
}

/* ===== HOVER EFFECT ===== */
.holographic-card:hover {
    box-shadow: 0 0 20px #a471a7;
}

/* ===== ANIMATION ===== */
.holographic-card:hover::before {
    opacity: 1;
    transform: rotate(25deg) translateY(100%);
}
/* Logo */
.logo {
    color: #320b35;
    font-size: 50px;
    font-weight: bolder;
    font-family: "Baskervville";
}

/* Menu */
ul{ 
    display: flex;
    list-style-type: none;
    margin:0;
    padding:0;}

ul li {

    margin: 0 20px;
}


ul li a {
    color: #320b35;
    margin: 0 25px;
    text-decoration: none;
    font-family: "Baskervville";
    font-size: 26px;
    font-weight: bold;
    transition: color 0.3s ease;
}

ul li a:hover {
    color: #000;
    text-shadow: 0 0 8px rgba(220, 150, 241, 0.7);
    transform: scale(1.1);
}
.checkbtn{
    font-size: 30px;
    color : #320b35;
    cursor: pointer;
    display: none;
}
#check{
    display:none;
}


.dropdown {
  display: inline-block;
  position: relative;
}

.dropdown-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f2eebf;
  z-index: 9999;
  min-width: 220px;  
  white-space: nowrap;  
  padding: 5px 0; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);  
}


.dropdown-options li {
  margin: 0;
}

.dropdown-options a {
  display: block;
  padding: 12px 20px;
  font-size: 18px;
  color: #320b35;
  transition: all 0.3s ease;

}

.dropdown:hover .dropdown-options {
    display: block;
}

/* media*/
@media(max-width:1200px){
    .checkbtn{
        display:block;
        order:1;
        margin-right:20px;
    }
    ul {
        position: fixed;
        top: 70px;
        right: -100%;
        background-color: #320b35;
        width: 40%;
        height: auto;
        max-height: 75vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: all 0.3s;
        overflow-y: auto;
        padding: 30px 0;
        -webkit-overflow-scrolling: 0 0 0 20px;
    }
    
    ul li{
        margin:12px 0;
        width: 100%;
        text-align: center;
    }

    ul li a{
        font-size: 28px;
        color: #f2eebf
    }

    ul li a:hover {
    color: #e2a5f1;
    text-shadow: 0 0 8px rgba(249, 251, 165, 0.7);
    transform: scale(1.1);
    }

    .dropdown-options {

    position: static;
    
    width: 80%;
    margin: 10px auto 0;
    background-color: #f2eebf;
    border-radius: 12px;
    padding: 10px 0;
    min-width: unset;
    margin-top: 10px;
    text-align: center;

    }

    .dropdown-options li {
        margin: 8px 0 ; 
    }

    .dropdown-options a {
    
    font-size: 22px;
    color: #320b35

    }

    #check:checked ~ ul{
        right:0;

    }

    .footer-container {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 35px;

    text-align: center;

}

.footer-col {

    width: 100%;

    max-width: 320px;

}

.social-icons {

    justify-content: center;

    flex-wrap: wrap;

    gap: 18px;

}

.footer-col p {

    text-align: center;

    line-height: 1.8;

}
}



/* ===== FOOTER ===== */

.footer {
    margin-top: 100px;
    background: linear-gradient(to right, #f7d8fa, #f7d8fa);
    color: #320b35;
    padding: 30px 60px;
    font-family: Baskerville, sans-serif;
}

.footer-container {

    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    align-items: start;

    justify-items: center;

    text-align: center;

    padding: 0 20px;

    box-sizing: border-box;

}

/* Columns */
.footer-col {

    max-width: 320px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    text-align: center;
    width: 100%;
}

/* Headings */
.footer-col h2,
.footer-col h3 {
    min-height: 50px;
    font-size: 22px;   /* same size */
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: #320b35;
}

/* Paragraph */
.footer-col p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Links */
.footer-col a {
    color: #320b35;
    text-decoration: none;
}

.footer-col a:hover {
    color: #000000;
}

/* List */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

/* Social Icons */
.social-icons {

    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.social-icons a {
    color: #320b35;
    font-size: 31px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #090909;
    transform: scale(1.2) rotate(10deg);

}



/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .main-header {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .menu a {
        font-size: 20px;
        margin: 5px;
    }
    
    .logo {
        font-size: 36px;
    }

    
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/*===BASE===*/
body{
    font-family: "Baskervville";
    background-color:#f2eebf;
    color: #320b35;
       /* vertical */

}

.container{
    width: 70%;
    margin: auto;
}
/* Info box */
.info-box {
    margin-top: 40px;
    background-color: #320b35;   /* almond */
    color: #f2eebf;              /* dark purple */
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;          /* centers text */
    margin-bottom: 30px;
}


/* Center headings */


.paragraph{
    font-size: 24px;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
}

.label1{
    font-weight: bold ;
    font-size: larger;
}


/*==text area==*/
textarea{
    width: 100%;
    height:150px;
    background:#f3d8fa;
    border: 2px solid #320b35;
    padding:10px;
    border-radius:5px;
}

/*button*/

.file-group{
    display: inline-flex;           /* FIX: enables gap + alignment */
    align-items: center;            /* vertical centering */
    justify-content: center;
    gap: 10px;   
    background-color:#a471a7;
    justify-content: center;
    color: #f2eebf;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size:20px;
    border: none;
    transition:0.3s;
}

/* Hide default input */
.file-upload input {
    display: none;
}

/* Custom upload button */
.file-upload {
    display: inline-block;
    padding: 12px 20px;
    background-color: #320b35;
    color: #f2eebf;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* Hover effect */
.file-upload:hover {
    background-color: black;
}

/* Box beside it */
#file-name {
    font-size: 15px;
}

.prediction{
   font-weight: bold;
   font-size: larger;
   gap:20px;
   display: flex;              /* controls spacing */
   align-items: center;
   

}

.probability input {
  width: 140px;
  height: 40px;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 2px solid #a471a7;
  outline: none;
}
.btn-group{
    display:flex;
    gap:20px;
    justify-content: center;
    
}
.btn{
    padding: 20px 20px;
    border-radius:10px;
    background-color:#320b35;
    color: #f2eebf;
    padding: 20px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size:24;
    border: none;
    transition:0.3s;
}
.btn:hover{
    background-color: black;
    transform: scale(1.2) ;
}

/* ===== RADIO BUTTONS ===== */
input[type="radio"] {
    margin-right: 5px;
}

/* ===== HEADINGS ===== */
h2 {
    margin-top: 40px;
    font-size: 40px;
    font-weight: bolder;
    text-align: center;
}

h3 {
    margin-top: 15px;
}

.form-group {
    margin-top: 20px;
    font-size: 22px;
    font-weight: bold;
}
.input-box {
    padding: 10px;
    width: 220px;
    border-radius: 8px;
    border: 1px solid #888;
    background-color: #a471a7;
    font-size: larger;
    font-weight: bold;
    cursor: pointer;
}

/* ===== SECTION ===== */
.section {
    display: flex;
    align-items: center;
    gap: 100px;
    margin: 100px auto;
    width: 85%;
}

/* ===== IMAGE ===== */
.section .img-left {
    width: 800px;
    max-width: 100%;
    height: auto;   /* 🔥 fix distortion */
}

/* ===== TEXT ===== */
.text-content {
    max-width: 700px;
}

.text-content h2 {
    font-size: 40px;
    margin-bottom: 20px;   /* instead of gap */
    text-align: left;
}

.text-content p {
    font-family: "Baskervville";
    font-size: 20px;
    margin-top: 20px;
    line-height: 1.8;
    color: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .section {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .section .img-left {
        width: 80%;
    }

    .text-content {
        text-align: left;   /* keeps text clean */
    }
}

/* ===== PAGE LOAD ANIMATION ===== */
.page-load {
    opacity: 0;
    transform: translateY(40px);  /* start slightly down */
    animation: fadeUp 0.8s ease forwards;
}

/* KEYFRAMES */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0); /* move up to original */
    }
}

/*======BLAST PAGE=========*/

.example-btn{
    background-color: #320b35;
    color: #f2eebf;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 15px;
}

.example-btn:hover{
    background-color: #4a004a;
}

.help-link{
    color: #7af8f8;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
}

.help-link:hover{
    color: #e88af7;
}