/* Variables */
:root {
    --primary: #1B3A57;
    --secondary: #E7C27D;
    --accent: #C44536;
    --background: #F9F6F1;
    --text: #2C2C2C;
    --link-hover: #3BB9FF;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--link-hover);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    line-height: normal;
}

.cta-button:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.domain-text {
    color: var(--primary);
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.desktop-nav ul li {
    margin-left: 30px;
}

.desktop-nav ul li a {
    font-weight: 500;
    line-height: 80px;
    display: inline-block;
}

.contact-btn {
    display: inline-block;
    padding: 6px 15px;
    background-color: var(--accent);
    color: white !important;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    line-height: normal;
    font-size: 0.85rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.contact-btn:hover {
    background-color: var(--primary);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mobile-menu-toggle {
    display: none;
}

.mobile-nav {
    display: none;
}

/* Main Styles */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('../img/HwBDtK.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    color: white;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 58, 87, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    animation: fadeIn 1s ease-in;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    background-color: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    border-radius: 50%;
    color: var(--primary);
    font-size: 2rem;
}

/* Why Choose Us Section */
.why-us {
    background-color: white;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.usp-item {
    text-align: center;
    padding: 20px;
}

.usp-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
}

/* Process Section */
.process {
    background-color: var(--background);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 22%;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
}

.testimonial-slide {
    background-color: var(--background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    flex: 1;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* Pricing Section */
.pricing {
    background-color: var(--background);
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.price-header {
    background-color: var(--primary);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.price-title {
    color: white;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.price-period {
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-features {
    padding: 30px 20px;
}

.price-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.price-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.price-features ul li:before {
    content: '✓';
    color: var(--secondary);
    margin-right: 10px;
    font-weight: 700;
}

.price-cta {
    text-align: center;
    padding-bottom: 30px;
}

/* Blog Section */
.blog {
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.blog-title {
    margin-bottom: 10px;
}

.blog-excerpt {
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    background-color: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--primary);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    height: 150px;
    resize: none;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-checkbox input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background-color: var(--primary);
}

/* Footer Styles */
footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 30px;
}

footer h3 {
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

footer h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-right: 20px;
    margin-bottom: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 20px;
    border-radius: 5px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

#acceptCookies {
    background-color: var(--primary);
    color: white;
}

#acceptCookies:hover {
    background-color: var(--secondary);
}

#declineCookies {
    background-color: #eee;
    color: var(--text);
}

#declineCookies:hover {
    background-color: #ddd;
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul, 
.policy-container ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Success Page */
.success-container {
    text-align: center;
    padding: 50px 30px;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid var(--secondary);
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.success-icon {
    width: 100px;
    height: 100px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
}

.success-container h1 {
    margin-bottom: 20px;
}

.success-container p {
    margin-bottom: 30px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 1s forwards;
}

.slide-in-left {
    animation: slideInLeft 1s forwards;
}

.slide-in-right {
    animation: slideInRight 1s forwards;
}

/* Responsive testimonials */
@media (max-width: 768px) {
    .testimonial-slider {
        flex-direction: column;
    }
}
