/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: #2d725e;
    color: white;
    border: none;
}

.primary-btn:hover {
    background-color: #245e4e;
}

.secondary-btn {
    background-color: #397561;
    color: white;
    border: none;
}

.secondary-btn:hover {
    background-color: #2d604f;
}

.text-btn {
    color: #2d725e;
    background: none;
    padding: 8px 0;
    font-weight: 500;
}

.text-btn:hover {
    color: #245e4e;
    text-decoration: underline;
}

/* Header */
.header {
    padding: 20px 0;
    background-color: #fff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 30px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    border: 4px solid #2d725e;
}

h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #222;
}

/* Services Section */
.services {
    padding: 60px 0;
    background-color: #f8f8f8;
}

h2 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #222;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: #2d725e;
    padding: 25px;
    border-radius: 10px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.service-card:nth-child(1)::before {
    background-image: url('./assets/1.1.png');
}

.service-card:nth-child(2)::before {
    background-image: url('./assets/1.2.png');
}

.service-card:nth-child(3)::before {
    background-image: url('./assets/1.3.png');
}

.service-card:nth-child(4)::before {
    background-image: url('./assets/1.4.png');
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 10px;
}

.service-card .btn {
    margin-top: auto;
    color: white;
    align-self: flex-end;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 8px 15px;
    transition: background-color 0.3s;
}

.service-card .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* About Us Section */
.about {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1.5;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 50%;
    border: 4px solid #2d725e;
}

.about-content h2 {
    text-align: left;
}

.about-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.about-content ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Why Us and For Whom Section */
.why-for {
    padding: 60px 0;
}

.why-for .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.why-us ul, .for-whom ul {
    margin-top: 20px;
}

.why-us li, .for-whom li {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

/* Contact Form Section */
.contact {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.contact .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

textarea {
    resize: vertical;
}

.contact button {
    width: 100%;
    padding: 15px;
}

.contact-image {
    margin: 30px auto;
    text-align: center;
}

.contact-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 50%;
    border: 4px solid #2d725e;
}

/* Footer */
.footer {
    background-color: #2d725e;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero .container, .about .container {
        flex-direction: column;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .why-for .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        margin: 15px 0;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
  
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-content {
        text-align: center;
    }
}


/* Success Page */
.success-message {
    height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f8f8f8;
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.success-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.success-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
}

.success-btn {
    background-color: #2d725e;
    color: white;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 5px;
    transition: background-color 0.3s;
    display: inline-block;
}

.success-btn:hover {
    background-color: #245e4e;
}

@media (max-width: 768px) {
    .success-message {
        height: calc(100vh - 160px);
    }
    
    .success-content h1 {
        font-size: 28px;
    }
    
    .success-content p {
        font-size: 16px;
    }
}

/* Footer */
.footer {
    background-color: #2d725e;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero .container, .about .container {
        flex-direction: column;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .why-for .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        margin: 15px 0;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-content {
        text-align: center;
    }
}