* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    text-align: center;
    background: #f9f9f9;
}
.claerfix{
    clear: both;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 0%, rgba(0,76,149,1) 41%, rgba(0,212,255,1) 100%);
}
/* هدر */
header img {
    width: 80%;
    height: auto;
    align-items:center;
}
.left-img {
    width: 30%;
}
.right-img {
    width: 30%;
    align-items:right,
}
/* چیدمان فلکس‌باکس برای بخش‌های علمی */
.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.box {
    width: 200px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.box img {
    width: 100%;
    border-radius: 5px;
}

.box p {
    margin-top: 10px;
    font-weight: bold;
}


.font-1{
    font-family: 'Neirizi';
    font-size: 28px;
    margin: 0px 30px;
    text-align: right;
}
      
/*باکس صرف فعل*/
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(18, 19, 20, 0.496);
            overflow: hidden;
        }
        
        .header2 {
            background: #0f6f5c;
            color: white;
            padding: 40px;
            text-align: center;
            margin-top: 23px;
        }
        
        .header2 h1 {
            font-size: 2.5em;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
             font-family: 'b titr';
        }
        
        .header2 p {
            font-size: 1.1em;
            line-height: 1.6;
            opacity: 0.9;
            font-family: 'sd';
        }
        
        .search-section {
            padding: 40px;
            background: #f8f9fa;
        }
        
        .search-box {
            display: flex;
            max-width: 600px;
            margin: 0 auto;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-radius: 50px;
            overflow: hidden;
        }
        
        .search-input {
            flex: 1;
            padding: 15px 25px;
            border: none;
            font-size: 1.2em;
            font-family: 'Arial', sans-serif;
            background: white;
            outline: none;
            direction: rtl;
        }
        
        .search-btn {
            padding: 15px 30px;
            background: linear-gradient(45deg, #3498db, #2980b9);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 1.1em;
            transition: background 0.3s;
        }
        
        .search-btn:hover {
            background: linear-gradient(45deg, #2980b9, #3498db);
        }
        
        .results {
            padding: 40px;
            display: none;
        }
        
        .verb-info {
            background: white;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .info-card {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            border-right: 4px solid #3498db;
        }
        
        .info-card h3 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 1.2em;
        }
        
        .info-card p {
            font-size: 1.1em;
            line-height: 1.5;
        }
        
        .conjugation-table {
            margin-top: 30px;
        }
        
        .conjugation-table h3 {
            color: #2c3e50;
            margin-bottom: 20px;
            text-align: center;
            font-size: 1.5em;
        }
        
        .tense-tables {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 30px;
        }
        
        .tense-table {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
        }
        
        .tense-table h4 {
            background: linear-gradient(45deg, #e74c3c, #c0392b);
            color: white;
            padding: 15px;
            margin: -20px -20px 20px -20px;
            border-radius: 10px 10px 0 0;
            text-align: center;
            font-size: 1.3em;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 1.1em;
        }
        
        th, td {
            padding: 12px;
            text-align: center;
            border-bottom: 1px solid #ddd;
        }
        
        th {
            background: #34495e;
            color: white;
            font-weight: bold;
        }
        
        tr:hover {
            background: #ecf0f1;
        }
        
        .arabic {
            font-size: 1.3em;
            font-weight: bold;
            color: #2c3e50;
        }
        
        .error {
            text-align: center;
            color: #e74c3c;
            font-size: 1.2em;
            padding: 20px;
        }
        
        @media (max-width: 768px) {
            .header2 h1 {
                font-size: 1.6em;
            }
            
            .search-box {
                flex-direction: column;
                border-radius: 10px;
            }
            
            .search-input {
                border-radius: 0;
            }
            
            .search-btn {
                border-radius: 0;
            }
            
            .info-grid {
                grid-template-columns: 1fr;
            }
            
            .tense-tables {
                grid-template-columns: 1fr;
            }
        }

.footer{ /*** فوترسایت***/
            color: white;
            background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 0%, rgba(0,76,149,1) 41%, rgba(0,212,255,1) 100%);
            padding: 30px 20px;
            margin-top: 50px;
            box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
            direction: rtl;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-right {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .copyright-section {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .copyright-icon {
            width: 40px;
            height: 40px;
            margin-left: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.922);
            padding: 5px;
        }

        .copyright-text {
            font-size: 1.1rem;
            font-weight: 600;
            margin: 0;
            color: #ecf0f1;
            font-family:'sahel-bold';
        }

        .designer {
            font-size: 0.9rem;
            margin: 0;
            color: #bdc3c7;
            font-style: italic;
            margin-right: 40px;
            font-family: 'sahel';
        }

        .footer-left {
            display: flex;
            align-items: center;
        }

        .social-icons {
            display: flex;
            gap: 20px;
        }

        .social-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: white;
            transition: all 0.3s ease;
            padding: 10px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
        }

        .social-link:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .social-icon {
            width: 30px;
            height: 30px;
            fill: currentColor;
            margin-bottom: 5px;
            transition: all 0.3s ease;
        }

        .social-link span {
            font-size: 0.8rem;
            font-weight: 500;
        }

        .social-link.eitaa:hover {
            background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
        }

        .social-link.instagram:hover {
            background: linear-gradient(135deg, #E1306C, #F77737, #FCAF45);
        }

/* هدر */
header img {
    width: 80%;
    height: auto;
    align-items:center;
}
.left-img {
    width: 30%;
}
.right-img {
    width: 30%;
    align-items:right,
}
/**ریسپانسیو هدر**/
@media (max-width: 768px) {
 header{
    display: flex;
    height: 200px;
    align-items: center;
 }
    /* هدر */
.header img {
    width: 104%;
    height: auto;
    align-items:center;
}
.left-img img {
    width: 97%;
}
.center-img img{
    width: 105%;
}
.right-img img {
    opacity: 0;
}
}

@font-face{
    font-family: 'b nazanin','Neirizi';
    src: url(images/BNaznnBd.ttf) format('woff2'),
         url(images/BNaznnBd.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Neirizi';
    src: url(font/Neirizi.ttf) format('woff2'),
         url(font/Neirizi.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'B Titr Bold';
    src: url(font/B\ Titr\ Bold-.ttf) format('woff2'),
         url(font/B\ Titr\ Bold-.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Noor nazanin';
    src: url(font/Noor_Nazanin.ttf) format('woff2'),
         url(font/Noor_Nazanin.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'rey black';
    src: url(font/Ray-Black.ttf) format('woff2'),
         url(font/Ray-Black.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'vazir';
    src: url(font/Vazir.ttf) format('woff2'),
         url(font/Vazir.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: 'sd';
    src: url(font/SD-Studio-Bold.ttf) format('woff2'),
         url(font/SD-Studio-Bold.ttf) format('woff');
    font-weight: normal;
    font-style: normal;
}