/*body*/
body{
    background-color:#fafafa;
    margin:0;
    padding:0;
    min-height:100vh;
    justify-content:center;
    align-items:center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*header*/
header h1{
    color:white;
    border:solid white;
    padding:6px 12px;
    display:inline-block;
    border-radius:40px;
}
header{
background-color: rgb(247, 114, 53);
padding:5px;
text-align:center;
position:fixed;
z-index:1;
width:100%;
top:0;
left:0;
}
    
.banner{
    position:relative;
}
.banner img{
width:100%;
height:auto;
max-height:400px;
object-fit:cover;
}
.banner .welcome{
    position: absolute;
    left:0;
    top: 30%;
    background-color:rgb(139, 226, 226)
}


.banner h2{
    font-size:40px; 
}
.banner h2 span{
    font-size:1.4em;
}

/*nav bar*/
nav {list-style-type:none;
    margin:0;
    padding:10px;
    background-color: rgb(255, 69, 0);
    width: 100%;
    height:10%;
    position:sticky;
    top:100px;
    display:flex;
    margin:0 auto;
    align-items:center;
}

nav a{
display:block;
color:whitesmoke;
padding:10px 20px;
text-decoration: none;
white-space: nowrap;
}

nav a:hover{
    background-color: navy;
    color:azure
}
nav a.active{
    background-color:rgb(126, 153, 189);
}

/* dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: yellow; 
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 10; 
    top: 100%;
    left: 0;
}
.dropdown-content a {
    color: #333333 !important; 
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: rgb(247, 114, 53) !important;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/*personal info*/
/*image*/
.about-personal{
    display:grid;
    grid-template-columns: 65% 35%; 
  align-items: center;            
  gap: 40px;                      
  max-width: 1200px;              
  margin: 0 auto;
  padding: 20px;
}
.personal{
    display:flex;
    align-items:center;
    gap:24px;
    width:100%;
    flex-direction:column-reverse;
}
.personal-info{
    text-align:left;
    line-height:1.6;
    margin-bottom:20px;
}
.personal-info:last-child{
    margin-bottom: 0;
}

img.flag {
    border-radius:50%;
    position: relative;
    left: 0;
    bottom:0%;
}
img.rail{
    border-radius:20%;
    padding:10px;
    width:400px; height:400px;
}

div.gallery{
    display:flex;
    flex-wrap:wrap;
    justify-content: flex-start;
}

div.gallery-item{
    margin:5px;
    border:3px solid black;
    width:420px;
    position:relative;
    overflow:hidden;
    box-shadow: 5px 10px 15px;
    cursor:pointer;
}

div.gallery-item:hover{
    border:2px solid azure;
}
div.gallery-item img{
    width:400px;
    object-fit:cover;
}

div.gallery-item div.desc{
    padding:15px;
    text-align: center;
}

/*table for education*/
.education-table{
border: 1px solid black;
border-collapse:collapse;
padding:10px;
width:700px; height:400px;
}

.education-table th{
    background-color: rgb(233, 169, 126);
    border-bottom:2px solid #160303;
}
.education-table td{
text-align:left;
padding:10px;
border-bottom:2px solid #160303;
}
.education-table tr:hover{
    background-color: rgb(196, 187, 54);
}

/*contact section*/
form {
  width: 100%;
  max-width: 450px;
  padding: 20px;
}

.contact {
  background: orange;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px red;
}

.contact-card {
  display: flex;
  flex-direction:column;
  margin-bottom: 20px; 
}

.contact-card label {
  font-weight: 600;
  margin-bottom: 8px;
  color: rgb(31, 25, 25);
  font-size: 0.95rem;
}

.contact-card input[type="text"],
.contact-card input[type="email"],
.contact-card textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fafafa;
  transition: all 0.3s ease;
}
.submit-btn{
    width:100%;
    padding:14px;
    background-color: rgb(144, 177, 209);
    color: white;
    border:none;
    border-radius: 7px;
    font-size: 1rem;
    font-weight:bold;
}

/* Message Box */
.contact-card textarea {
  height: 100px;
  resize:vertical;
}

/*inputs */
.contact-card input:focus,
.contact-card textarea:focus {
  border-color: #4a90e2;
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.business-table{
    border-collapse:collapse;
    border:2px solid orange;
    height:500px;
}
.business-table td:hover{
    background-color: rgb(216, 213, 27);
}

img.logo{
    border-radius:20%;
    width:500px;
    height:150px;
}

.footer{
    background-color:orangered;
    padding: 10px;
    width:100%;
    margin-top:300px;
    box-sizing:border-box;}

    /* Container */
.social-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;            
  margin: 30px auto;    
  padding: 10px;
}

/*button  */
.social-contact a {
  text-decoration: none; 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 30px; 
  color: white;        
  transition: transform 0.2s ease, box-shadow 0.2s ease; 
}

/* socials*/
/* Instagram*/
.social-contact .btn-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
}

/* Email*/
.social-contact .btn-email {
  background-color: orange;
  box-shadow: 0 4px 10px rgba(247, 114, 53, 0.3);
}

/* WhatsApp*/
.social-contact .btn-wa {
  background-color: green;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

/* Hover*/
.social-contact a:hover {
  transform: translateY(-3px); 
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); 
}

/*click response */
.social-contact a:active {
  transform: translateY(-1px);}

