/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header Styles */
header {
    background: linear-gradient(90deg, #4ca1af, #2c3e50);
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    max-width: 250px;
    border-radius: 5px;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
    position: relative;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

header nav ul li a:hover {
    color: #f1c40f;
}

/* Dropdown Styles */
header nav ul li.dropdown:hover > .dropdown-content{
    display:block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -50px;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
}

.dropdown-content li {
    margin: 0;
}


.dropdown-content li a{
    color: black;
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.dropdown-content li a:hover {
    background-color: #f1f1f1;
}

.sub-dropdown {
    position: relative;
}

.sub-dropdown:hover{
    color: #f1c40f;
}


.sub-dropdown:hover .sub-dropdown-content{
    display:block;
}

.sub-dropdown-content {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.sub-dropdown-content a{
    color: black;
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.sub-dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Hero Section Styles */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    background: #f9f9f9;
    overflow: hidden;
    position: relative;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
    text-align: left;
    padding-right: 20px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.hero-content a.button {
   display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, #4ca1af, #2c3e50);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.hero-content a.button:hover {
    background: linear-gradient(45deg, #2c3e50, #4ca1af);
}


.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 500px;
    border-radius: 10px;
    transform: translateY(-20px);
}

/* Services Section Styles */
.services {
    padding: 60px 40px;
    text-align: center;
    background-color: #fff;
}

.services h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    width: 320px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
     transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.service-card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* About Section Styles */
.about {
    padding: 60px 40px;
    background: linear-gradient(120deg, #4ca1af, #2c3e50);
    color: #fff;
    text-align: center;
}

.about-content {
     max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about a.button {
   display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
    margin-top: 20px;
}

.about a.button:hover {
    background: #2c3e50;
    color: #fff;
}


/* Footer Styles */

footer {
    background-color: #f8d7da;
    padding: 40px 20px;
}

.footer {
    margin: 10px 10px 5px 10px;
    border-radius: 10px;
    /* background: linear-gradient(90deg, #182848, #4b6cb7);
    color: white; */
    background-color: white;
    color: black;
    padding: 30px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer .column {
    flex: 1;
    margin: 10px;
    text-align: left;
}

.footer .column p {
    margin-right: 50px;
}

.footer .column a {
    color: black;
}

.footer .column a:hover {
    color: blue;
}

.footer h3 {
    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: yellow;
}

.footer .social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer .social-icons a:hover {
    color: yellow;
}

.social-icons i {
    color: black;
    font-size: 20px;
    margin-right: 10px;
}

.social-icons i:hover{
    color: blue;
}

.copyRight {
    /* margin: 10px 85px; */
    margin: 10px 10px 5px 10px;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    background-color: #182848;
    color: white;
}


/* Responsive Design */
@media (max-width: 768px) {

    header{
         padding: 20px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    header .logo img {
          margin-bottom: 10px;
    }
   header nav ul {
        flex-direction: column;
        text-align: center;
    }

    header nav ul li{
       margin: 10px 0px;
    }


    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

   .hero-content{
     text-align: center;
     padding: 0;
   }
    .hero-image {
         text-align: center;
         padding: 20px;
    }

    .hero-image img {
         max-width: 80%;
          transform: translateY(0);
    }

    .services {
        padding: 30px 20px;
    }

    .services-container {
         flex-direction: column;
         align-items: center;
         gap: 15px;
    }

    .service-card {
        width: 90%;
        padding: 20px;
        text-align: center;
        border-radius: 7px;
    }

     .about {
        padding: 30px 20px;
    }
}