*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Times New Roman", Georgia, Serif;
}

body{
    font-family: "Times New Roman", Georgia, Serif;
}

html{
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
}

/* Nav-bar Styling */

nav{
    background-color: white;
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    padding: 20px 20px;
    position: sticky;
    z-index: 999; /* مهم */
    top: 0;
    box-shadow: black 0px 0px 10px;
}

nav .logo a{
    font-size: 20px;
    color: black;
    padding: 10px;
    letter-spacing: 5px;
}

nav .logo a:hover{
    background-color: rgb(204, 204, 204);
}

.hamburger{
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: black;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;

}

.nav-links ul li a{
    color: black;
    font-size: 20px;
    padding: 10px 20px;
    letter-spacing: 5px;
}

.nav-links ul li a:hover{
    background-color: rgb(204, 204, 204);
}


/* Header Section Styling */

header .header-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

header h1{
    position: absolute;
    left: 9%;
    bottom: 10%;
    color: rgb(87, 88, 92);
    font-size: 35px;
    letter-spacing: 10px;
    padding: 20px;
    border-radius: 10px;
    font-weight: 500;
    letter-spacing: 8px;
}

/* About Section Styling */

.section{
    margin: 100px 0px;
    scroll-margin-top: 90px;
}

.container {
    width: 60%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    border-bottom: rgb(204, 204, 204) 1px solid;
    padding-bottom: 100px;
}

.container .section-img {
    height: 100%;
    width: 100%;
}

.container .section-img img{
    height: 650px;
    width: 500px;
}

.container .section-text{
    padding: 0px 20px;
    width: 100%;
}

.container .section-text h3{
    font-size: 40px;
    font-weight: 100;
    letter-spacing: 5px;
    text-align: center;
}

.container .section-text h6{
    font-size: 20px;
    font-weight: 100;
    letter-spacing: 5px;
    padding: 50px 0px 20px;
    text-align: center;
}

.container .section-text P{
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 1.5;
    padding-bottom: 30px;
}

.section-text-span{
    background-color: rgb(204, 204, 204);
    padding: 5px;
}

.section-text .section-text-p {
    color: rgb(163, 163, 163);
}


/* Our Menu Section Styling */

.section-text #texth {
    text-align: left;
    font-size: 20px;
    font-weight: 300;
}

.section-text #textp{
    color: rgb(163, 163, 163);
    font-size: 15px;
    letter-spacing: 0px;
    padding-bottom: 20px;
}

/* Contact Section Styling */

#contact-text{
    text-align: left;
    padding-bottom: 50px;
}

#contact-p{
    font-size: 12px;
}

#contact-h6{
    text-align: left;
    font-size: 20px;
    padding: 0px 0px 20px;
    color: rgb(97, 126, 140);
    letter-spacing: 0px;
    font-weight: bold;
}

form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input, form textarea{
    padding: 15px;
    font-size: 15px;
    border: none;
    border-bottom: 1px solid rgb(204, 204, 204);
    resize: none;
}

form input:focus, form textarea:focus{
    outline: none;
    border: 2px solid black;
    border-radius: 5px;
}

form button{
    width: 150px;
    padding: 10px;
    font-size: 15px;
    border: none;
    background-color: rgb(242, 242, 242);
    color: black;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

form button:hover{
    background-color: rgb(204, 204, 204);
}

#contact-container{
    border-bottom: none;
    padding-bottom: 0px;
}

/* Footer Section Styling */

footer{
    text-align: center;
    padding: 60px;
    background-color: rgb(230, 230, 230);
    color: black;
    font-size: 15px;
}

footer p{
    padding: 5px;
    letter-spacing: 2px;
    font-size: 15px;
    
}

/* CHATGPT ADDINGS */
/* البداية: العناصر مخفية */
.reveal {
    opacity: 0;
    transform: translateY(50px);   /* نازلة شوية لتحت */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* لما تتشاف */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Media Querie Styling */

@media screen and (max-width: 768px) {

/* Navigation & Burger Menu Styling */

nav{
    position: fixed;
    width: 100%;
    transition: 0.3s ease;
    height: 80px;
}

nav .logo a{
    font-size: auto;
    padding: auto;
    padding: 0px;
}

.hamburger{
    display: block;
    font-size: 25px;
    cursor: pointer;
    color: black;
    padding: 0px 40px 20px 0px;
    position: relative;
}

.hamburger i{
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: max-content;
    height: max-content;
    opacity: 0;
    transition: 0.3s ease;
}

.hamburger i.active{
    opacity: 1;
    transform: rotate(180deg);
}

/* لمنع تمرير الصفحة عند فتح القائمة */
.no-scroll {
    overflow: hidden;
}

.nav-links{
    position: absolute;
    background-color: rgb(204, 204, 204);
    top: 80px;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none; /* منع الضغط لما تكون مغلقة */
}

.nav-links.active{
    opacity: 1;
    background-color: black;
    transition: 0.5s;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-links ul li{
    display: block;
    padding: 15px 0px;
}

.nav-links ul li a{
    color: white;
    border-bottom: 1px solid white;
}

/* Header Section Styling */

header .header-img img{
    width: 100%;
    padding-top: 80px;
}

header h1{
display: none;
}

/* About Section Styling */

.container {
    width: 100%;
    display: block;
}

.container .section-img img{
    width: 100%;
    height: auto;
    padding-bottom: 20px;
}


}
